UserColor Constructor(ThemeColorId,Single,Single,Single)
In This Topic
Initializes a new instance of the
UserColor class.
Syntax
'Declaration
Public Function New( _
ByVal As ThemeColorId, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal tintAndShade As System.Single _
)
public UserColor(
ThemeColorId ,
System.float ,
System.float ,
System.float tintAndShade
)
Parameters
- themeColor
- A theme color that should be applied to the object.
- transparency
- The degree of transparency of the color as a value between 0 (opaque) and 1 (clear).
- brightness
- The brightness of the color from -1 (darkest) to 1 (lightest), zero being neutral.
- tintAndShade
- The lightening or darkening of the color from -1 (darkest) to 1 (lightest), zero being neutral.
See Also