SkinProperties
Static knowledge about skin properties: which combinations of PropertyId bits exist, what kind of value each holds, and how identifiers are written as text.
Properties
Methods
HasDash
#Only the wires that signal a state are dashed: empty, disabled and tentative. Item, list and tree wires are always solid, and say what they carry through width and core.
Parameters:
| wireKind (PropertyId) |
HasOverlay
#Only disabled objects are drawn with an overlay, so the role exists for those shades alone.
Parameters:
| variant (PropertyId) |
InMode
#Gets every property in a given mode.
Parameters:
| mode (PropertyId) | Either PropertyId.Lit or PropertyId.Dim. |
ToToken
#Write a property as a token: mode, family, role and variants separated by full stops, several variants joined by plus signs. Shade, grip and icon colour properties without any variant carry the word Normal.
Parameters:
| id (PropertyId) |
TryParse
#Parse a token written by ToToken(PropertyId). Case-insensitive.
Parameters:
| token (string) | |
| id (out PropertyId) |