XUIColorPickerColorDot
Description
Represents a coloured dot on the ColorPicker swatches panel.
Properties
Name | Type | Read-Only |
---|---|---|
Bounds | Rect |
|
Colour | Color |
|
Name | String |
|
Palette() | Color |
Methods
Name | Parameters | Returns |
---|---|---|
Constructor | colour As Color , name As String , ParamArray palette() As Color |
Property Descriptions
Bounds As Rect
The dot's bounds, local to the XUIColorPickerColorDotCanvas this dot appears on. Used for hit detection.
Colour As Color
This dot's colour.
Name As String
This dot's name.
Palette() As Color
This dot's associated palette of colours.
Method Descriptions
Constructor(colour As Color, name As String, ParamArray palette() As Color)
Default constructor.
colour
is the colour of this dot.name
is this dot's name.palette
contains this dot's palette colours.