Renderer class abstract

Constructors

Renderer()

Properties

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

Methods

align(Fit fit, Alignment alignment, AABB frame, AABB content, double scaleFactor) → void
clipPath(RenderPath path) → void
clipRect(Rect rect) → void
dispose() → void
drawCircle(Offset center, double radius, RenderPaint paint) → void
drawImage(RenderImage image, BlendMode blendMode, double opacity) → void
drawImageMesh(RenderImage image, VertexRenderBuffer vertices, VertexRenderBuffer uvs, IndexRenderBuffer indices, BlendMode blendMode, double opacity) → void
drawLine(Offset from, Offset to, RenderPaint paint) → void
drawPath(RenderPath path, RenderPaint paint) → void
drawRect(Rect rect, RenderPaint paint) → void
drawText(RenderText text, [RenderPaint? paint]) → void
Draw a RenderText, supply paint to override styles provided during text building.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restore() → void
rotate(double angle) → void
save() → void
scale(double sx, [double? sy]) → void
toString() String
A string representation of this object.
inherited
transform(Mat2D matrix) → void
translate(double x, double y) → void

Operators

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

Static Properties

nativeGpu → dynamic
no setter
nativeQueue → dynamic
no setter

Static Methods

computeAlignment(Fit fit, Alignment alignment, AABB frame, AABB content, double scaleFactor) Mat2D
make(Canvas canvas) Renderer
Makes a Renderer for a Flutter Canvas.
makeDashPath() DashPathEffect
makeTrimPath() TrimPathEffect