Struct ComputedStyle

struct ComputedStyle

Properties

TypeNameDescription
alignment[get]
backgroundClip[get]
backgroundColor[get]
inout(Drawable)
backgroundImage[get]
backgroundOrigin[get]
backgroundPosition[get]
backgroundRepeat[get]
backgroundSize[get]
borderColor[get]
borderRadii[get]
borderStyle[get]
InsetsOf!(float)
borderWidth[get]
bottom[get]
boxShadow[get]
columnGap[get]
cursor[get]
string
display[get]
flexBasis[get]
flexDirection[get]
float
flexGrow[get]
float
flexShrink[get]
flexWrap[get]
focusRectColor[get] Get color to draw focus rectangle, Color.transparent if no focus rect
string
fontFace[get]
fontFamily[get]
bool
fontItalic[get]
int
fontSize[get] Computed font size in device-independent pixels
ushort
fontWeight[get]
gridArea[get] (row-start, column-start, row-end, column-end)
gridAutoColumns[get]
gridAutoFlow[get]
gridAutoRows[get]
gridTemplateAreas[get]
const(TrackSize[])
gridTemplateColumns[get]
const(TrackSize[])
gridTemplateRows[get]
halign[get] Returns horizontal alignment
height[get]
left[get]
float
letterSpacing[get]
float
lineHeight[get]
InsetsOf!(float)
margins[get]
maxHeight[get]
maxWidth[get]
minHeight[get]
minWidth[get]
mixBlendMode[get]
float
opacity[get]
int
order[get]
InsetsOf!(float)
padding[get]
placeContent[get]
placeItems[get]
placeSelf[get]
right[get]
rowGap[get]
stretch[get]
tabSize[get]
textAlign[get]
textColor[get]
textDecor[get]
textHotkey[get]
textIndent[get]
textOverflow[get]
textTransform[get]
top[get]
transform[get]
valign[get] Returns vertical alignment
width[get]
float
wordSpacing[get]
bool
wordWrap[get]
int
zIndex[get]

Methods

NameDescription
getPropertyValue (name, def)
hasTransitionFor (property) Check whether the style can make transition for a CSS property
recompute (chain, inline, parentStyle) Resolve style cascading and inheritance, update all properties