PaperTextures class abstract final

The shared textures.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

builds ↔ int
Tiles built so far (tests).
getter/setter pair
grain → ImageShader
The grain tile as a repeating shader (white and black primitives on transparent; modulate with the paint's alpha).
no setter

Static Methods

lines(BackgroundPattern layout, int pitchCdp) → ImageShader
The line tile of a ruled (BackgroundPattern.stripes), graph (BackgroundPattern.grid) or dot-grid (BackgroundPattern.dots) sheet with pitch pitchCdp (dp × 100): white lines on transparent, recoloured with a srcIn colour filter at paint time. Grid minor lines are 0.625 of the major lines' alpha.

Constants

grainTile → const double
Grain tile edge, dp.
tileScale → const double
Tiles are rasterised at this scale (sharp on 3× screens).