InkBrush
InkBrush class
Represents an inkBrush object.
getColor
Name | Description |
---|
getColor () | Gets or sets the brush color for a line. |
Returns:
Color
getInkEffect
Name | Description |
---|
getInkEffect () | Gets the ink effect type (e.g., Galaxy, Gold, Silver) that defines the visual style of the ink stroke. The value is parsed from the brush property “inkEffects”. If no recognized effect is specified, InkEffectType#NotDefined is returned. |
Returns:
int
getSize
Name | Description |
---|
getSize () | Gets or sets the brush size for a line in points. |
Returns:
Dimension2D
setColor
Name | Description |
---|
setColor (Color) | Gets or sets the brush color for a line. |
setSize
Name | Description |
---|
setSize (Dimension2D) | Gets or sets the brush size for a line in points. |