Paint
interface Paint
Internal, parsed form of painting attributes. If a paint attribute was not defined, it must be
null
(not undefined
).
Summary
Properties from Paint
number |
Flags when the paint is updated. |
number | string |
The interior paint for the shape. |
number |
The opacity of the fill. |
number | string |
The color of the stroke outline applied on the shape. |
number[] |
The dash pattern for stroking the shape. |
number |
The distance into the dash pattern at which the stroking is started. |
PIXI.LINE_CAP |
The line caps applied at the end of the stroke. This is not applied for closed shapes. |
PIXI.LINE_JOIN |
The line join applied at the joint to line segments. |
number |
The maximum miter distance. |
number |
The width of the stroke outline applied on the shape. |
Public Properties
strokeDashOffset: number
The distance into the dash pattern at which the stroking is started.
strokeLineCap: PIXI.LINE_CAP
The line caps applied at the end of the stroke. This is not applied for closed shapes.
strokeLineJoin: PIXI.LINE_JOIN
The line join applied at the joint to line segments.