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
Classes
Styles
chevron_left Classes
class
Styles

Constructors

functionsStyles

Fields

crop_dinBoxShadowcrop_dinFilterDropShadowcrop_dinTextShadowcrop_dinTransitions

Properties

data_objectBorderColordata_objectBorderWidthdata_objectHasBorderdata_objectHasTransitionsdata_objectMargindata_objectPadding

Methods

functionsAddfunctionsApplyAnimationfunctionsApplyScalefunctionsBuildTransformMatrixfunctionsDirtyfunctionsFromfunctionsFromLerpfunctionsGetInsetfunctionsGetOutsetfunctionsLerpPropertyfunctionsResetAnimationfunctionsSetfunctionsStartAnimation

Static Fields

crop_dinDefault
Styles
Represents all supported CSS properties and their currently assigned values.
class Sandbox.UI .account_tree extends BaseStyles
Sandbox.Engine

build Constructors 1

Styles ()

crop_din Fields 4

BoxShadow
ShadowList
FilterDropShadow
ShadowList
TextShadow
ShadowList
Transitions
TransitionList
List of transitions this style sheet has.

data_object Properties 6

BorderColor
Nullable`1
BorderWidth
Nullable`1
HasBorder
bool
HasTransitions
bool
Whether this style sheet has any transitions that would need to be run.
Margin
Nullable`1
Padding
Nullable`1

functions Methods 13

Add (bs)
ApplyAnimation (panel)
bool
ApplyScale (scale)
BuildTransformMatrix (size)
Matrix
Creates a matrix based on this style's "transform" and other related properties
Dirty ()
From (bs)
FromLerp (from, to, delta)
GetInset (size)
Margin
GetOutset (size)
Margin
LerpProperty (name, from, to, delta)
ResetAnimation ()
Stops the animation. If we have animation vars we'll start again.
Set (styles)
bool
StartAnimation (name, duration, iterations, delay, timing, direction, fillmode)
Stop any previous animations and start this one. Make it last this long.

crop_din Static Fields 1

Default
Styles

Inheritance

BaseStyles
Styles
PanelStyle
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