InkBrush

InkBrush class

Represents an inkBrush object.

getColor

NameDescription
getColor ()Gets or sets the brush color for a line.

Returns: Color


getInkEffect

NameDescription
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

NameDescription
getSize ()Gets or sets the brush size for a line in points.

Returns: Dimension2D


setColor

NameDescription
setColor (Color)Gets or sets the brush color for a line.

setSize

NameDescription
setSize (Dimension2D)Gets or sets the brush size for a line in points.