s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية

Constructors

functionsGraphicsView

Properties

data_objectAntialiasingdata_objectBilinearFilteringdata_objectCenterdata_objectDragTypedata_objectHorizontalScrollbardata_objectItemsdata_objectMaxZoomdata_objectMinZoomdata_objectOnSelectionChangeddata_objectRotationdata_objectScaledata_objectSceneRectdata_objectSelectedItemsdata_objectSelectionRectdata_objectTextAntialiasingdata_objectTransformAnchordata_objectVerticalScrollbar

Methods

functionsAddfunctionsCapturefunctionsCenterOnfunctionsDeleteAllItemsfunctionsFitInViewfunctionsFromScenefunctionsGetItemAtfunctionsSetBackgroundImagefunctionsToScenefunctionsTranslatefunctionsZoom
menu
Api
Editor Classes
GraphicsView
GraphicsView
Editor.GraphicsView   account_tree Derives from Widget
classAssembly: Sandbox.Tools

Inheritence

QObject
Widget
GraphicsView

Constructors

GraphicsView

Properties

Antialiasing
BilinearFiltering
Center Where in the scene is the view currently centered.
DragType What happens when the user drags the mouse. You generally want to toggle this in OnMouseDown to switch what happens with different mouse buttons.
HorizontalScrollbar
Items
MaxZoom
MinZoom
OnSelectionChanged
Rotation
Scale
SceneRect
SelectedItems
SelectionRect All items inside this rect will be selected
TextAntialiasing
TransformAnchor
VerticalScrollbar

Methods

Add
Capture
CenterOn
DeleteAllItems
FitInView
FromScene
GetItemAt
SetBackgroundImage
ToScene
Translate
Zoom
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter