Paint

interface Paint

Internal, parsed form of painting attributes. If a paint attribute was not defined, it must be null (not undefined).

See: https://www.w3.org/TR/SVG2/painting.html#Introduction

Summary


Properties from Paint

number
dirtyId

Flags when the paint is updated.

number | string
fill

The interior paint for the shape.

number
opacity

The opacity of the fill.

number | string
stroke

The color of the stroke outline applied on the shape.

number[]
strokeDashArray

The dash pattern for stroking the shape.

number
strokeDashOffset

The distance into the dash pattern at which the stroking is started.

PIXI.LINE_CAP
strokeLineCap

The line caps applied at the end of the stroke. This is not applied for closed shapes.

PIXI.LINE_JOIN
strokeLineJoin

The line join applied at the joint to line segments.

number
strokeMiterLimit

The maximum miter distance.

number
strokeWidth

The width of the stroke outline applied on the shape.

Public Properties


dirtyId Paint.ts:57
dirtyId: number

Flags when the paint is updated.

fill Paint.ts:12
fill: number | string

The interior paint for the shape.

opacity Paint.ts:17
opacity: number

The opacity of the fill.

stroke Paint.ts:22
stroke: number | string

The color of the stroke outline applied on the shape.

strokeDashArray Paint.ts:27
strokeDashArray: number[]

The dash pattern for stroking the shape.

strokeDashOffset Paint.ts:32
strokeDashOffset: number

The distance into the dash pattern at which the stroking is started.

strokeLineCap Paint.ts:37
strokeLineCap: PIXI.LINE_CAP

The line caps applied at the end of the stroke. This is not applied for closed shapes.

strokeLineJoin Paint.ts:42
strokeLineJoin: PIXI.LINE_JOIN

The line join applied at the joint to line segments.

strokeMiterLimit Paint.ts:47
strokeMiterLimit: number

The maximum miter distance.

strokeWidth Paint.ts:52
strokeWidth: number

The width of the stroke outline applied on the shape.


Powered by webdoc!