Methods
align (Fit fit , Alignment alignment , AABB frame , AABB content , double scaleFactor )
→ void
beginMask (MaskMode mode , AABB bounds , {double resolution = 1 , int handle = 0 , BlendMode blendMode = ui.BlendMode.srcOver })
→ bool
Opens a layer-mask bracket. Everything drawn until beginMaskSource is
the masked content; everything from there until endMask is the mask
source. endMask composites content x coverage into this renderer.
beginMaskSource ()
→ void
Ends the content half and begins the mask half. Only legal after a
beginMask that returned true.
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 , {ImageSampler sampler = ImageSampler.linearClamp , double additiveness = 0 })
→ void
drawImageMesh (RenderImage image , VertexRenderBuffer vertices , VertexRenderBuffer uvs , IndexRenderBuffer indices , BlendMode blendMode , double opacity , {ImageSampler sampler = ImageSampler.linearClamp , double additiveness = 0 })
→ void
drawImageMeshInstanced (RenderImage image , VertexRenderBuffer vertices , VertexRenderBuffer uvs , IndexRenderBuffer indices , ImageMeshInstances instances , {ImageSampler sampler = ImageSampler.linearClamp })
→ void
This default implementation just calls drawImageMesh N times.
Implementations which call into the Rive renderer should override this.
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.
endMask ()
→ void
Ends the mask half and composites the result.
modulateOpacity (double opacity )
→ void
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