RenderPaint class abstract

Constructors

RenderPaint()

Properties

additiveness ↔ double
Interpolates the srcOver composite toward additive: 0 is normal srcOver, 1 is fully additive. Only honored when blendMode is srcOver; renderers that don't support it render plain srcOver.
getter/setter pair
blendMode ↔ BlendMode
getter/setter pair
cap ↔ StrokeCap
getter/setter pair
color ↔ Color
getter/setter pair
feather ↔ double
getter/setter pair
gradient ↔ RenderGradient?
getter/setter pair
gradientTransform ↔ Mat2D
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isAntiAlias ↔ bool
getter/setter pair
join ↔ StrokeJoin
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strokePosition ↔ StrokePosition
Renderers that don't support inside/outside strokes draw them centered.
getter/setter pair
style ↔ PaintingStyle
getter/setter pair
thickness ↔ double
getter/setter pair

Methods

dispose() → void
modulatedArtboard(Renderer renderer, ArtboardPaintSource source, ImageSampler sampler, Mat2D transform) → bool
Like modulatedImage, with source's artboard as the image: rasterized offscreen for renderer when it changed. transform maps the artboard's box, as 0..1, into the space the path is drawn in. Returns false, leaving this paint untouched, when the renderer cannot rasterize offscreen; the caller then clears any stale image.
modulatedImage(RenderImage? image, ImageSampler sampler, Mat2D transform) → void
Paint the path with image modulated (multiplied) by this paint's color or gradient. transform maps the image's normalized texture space (0..1) into the space the path is drawn in. Pass a null image to clear any previously set modulating image. Default no-op for renderers that don't support image paints (matches rive::RenderPaint::modulatedImage).
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