s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
Styles
chevron_left
Classes
class
Styles
Constructors
functions
Styles
Fields
crop_din
BoxShadow
crop_din
FilterDropShadow
crop_din
TextShadow
crop_din
Transitions
Properties
data_object
BorderColor
data_object
BorderWidth
data_object
HasBorder
data_object
HasTransitions
data_object
Margin
data_object
Padding
Methods
functions
Add
functions
ApplyAnimation
functions
ApplyScale
functions
BuildTransformMatrix
functions
Dirty
functions
From
functions
FromLerp
functions
GetInset
functions
GetOutset
functions
LerpProperty
functions
ResetAnimation
functions
Set
functions
StartAnimation
Static Fields
crop_din
Default
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.