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العربية
Api
Classes
TextFlag
chevron_left Classes
enum
TextFlag

Static Fields

crop_dinAbsolutecrop_dinBottomcrop_dinCentercrop_dinCenterBottomcrop_dinCenterHorizontallycrop_dinCenterTopcrop_dinCenterVerticallycrop_dinDontClipcrop_dinJustifycrop_dinLeftcrop_dinLeftBottomcrop_dinLeftCentercrop_dinLeftTopcrop_dinNonecrop_dinRightcrop_dinRightBottomcrop_dinRightCentercrop_dinRightTopcrop_dinSingleLinecrop_dinTopcrop_dinWordWrapcrop_dinWrapAnywhere
menu
TextFlag
Flags dictating position of text (and other elements). Default alignment on each axis is Top, Left. Values for each axis can be combined into a single value, conflicting values have undefined behavior.
enum Sandbox .
sealedSandbox.System

crop_din Static Fields 22

Absolute
TextFlag
Bottom
TextFlag
Anchor to the bottom on the Y axis.
Center
TextFlag
Align in the center on both axises.
CenterBottom
TextFlag
Anchor to the bottom side, center horizontally.
CenterHorizontally
TextFlag
Align in the center on the X axis.
CenterTop
TextFlag
Anchor to the top side, center horizontally.
CenterVertically
TextFlag
Align in the center on the Y axis.
DontClip
TextFlag
Do not cutoff text beyond its bounds. Used in Graphics.DrawText and Graphics.MeasureText.
Justify
TextFlag
Left
TextFlag
Align to the left on the X axis.
LeftBottom
TextFlag
Anchor to the bottom left corner.
LeftCenter
TextFlag
Anchor to the left side, center vertically.
LeftTop
TextFlag
Anchor to the top left corner.
None
TextFlag
Right
TextFlag
Align to the right on the X axis.
RightBottom
TextFlag
Anchor to the bottom right corner.
RightCenter
TextFlag
Anchor to the right side, center vertically.
RightTop
TextFlag
Anchor to the top right corner.
SingleLine
TextFlag
Limit the text to a single line. Used in Graphics.DrawText and Graphics.MeasureText.
Top
TextFlag
Anchor to the top on the Y axis.
WordWrap
TextFlag
WrapAnywhere
TextFlag
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