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 schoolTutorials
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العربية
Api
Editor Classes
Paint
DrawPie
chevron_left Editor Classes
class
Paint

Static Properties

data_objectAntialiasingdata_objectBilinearFilteringdata_objectHasEnableddata_objectHasFocusdata_objectHasMouseOverdata_objectHasPresseddata_objectHasSelecteddata_objectLocalRectdata_objectPendata_objectPenSizedata_objectPenStyledata_objectRenderModedata_objectTextAntialiasing

Static Methods

functionsClearBrushfunctionsClearPenfunctionsDrawfunctionsDrawArcfunctionsDrawArrowfunctionsDrawCirclefunctionsDrawIconfunctionsDrawLinefunctionsDrawPiefunctionsDrawPointsfunctionsDrawPolygonfunctionsDrawRectfunctionsDrawSquarefunctionsDrawTextfunctionsDrawTextBoxfunctionsGetElidedTextfunctionsLoadImagefunctionsMeasureTextfunctionsRectfunctionsResetTransformfunctionsRotatefunctionsScalefunctionsSetBrushfunctionsSetBrushAndPenfunctionsSetBrushLinearfunctionsSetBrushRadialfunctionsSetDefaultFontfunctionsSetFlagsfunctionsSetFontfunctionsSetHeadingFontfunctionsSetPenfunctionsToPixmapfunctionsTranslate
DrawPie
Draws a pie. Angles are clockwise, 0 is north.
methodstatic
static void DrawPie (Vector2 center, Vector2 radius, float angle, float angleSize)

Parameters

NameTypeDescription
center Vector2 The center of the circle
radius Vector2 The radius of the circle
angle float The center of the pie, in degrees
angleSize float The size of the pie, in degrees
Declared in Editor.Paint ยท Assembly Sandbox.Tools
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