Xinf API Reference
Back | Index
class xinf.erno.BasicRenderer
implements Renderer
BasicRenderer implements all functions of the Renderer interface to throw exceptions. It is used as a base class for other renderers (some, like JSRenderer, throw exceptions for functions that they cannot satisfy, like startShape()).
function new( ) :Void
function startNative( o:NativeContainer ) :Void
function endNative( ) :Void
function startObject( id:Int ) :Void
function endObject( ) :Void
function destroyObject( id:Int ) :Void
function showObject( id:Int ) :Void
function setTransform( id:Int, x:Float, y:Float, a:Float, b:Float, c:Float, d:Float ) :Void
function setTranslation( id:Int, x:Float, y:Float ) :Void
function clipRect( w:Float, h:Float ) :Void
function setFill( ?paint:Paint ) :Void
function setStroke( ?paint:Paint, width:Float, ?caps:Int, ?join:Int, ?miterLimit:Float, ?dashArray:Iterable<Float>, ?dashOffset:Float ) :Void
function startShape( ) :Void
function endShape( ) :Void
function startPath( x:Float, y:Float ) :Void
function endPath( ) :Void
function close( ) :Void
function lineTo( x:Float, y:Float ) :Void
function quadraticTo( x1:Float, y1:Float, x:Float, y:Float ) :Void
function cubicTo( x1:Float, y1:Float, x2:Float, y2:Float, x:Float, y:Float ) :Void
function arcTo( x1:Float, y1:Float, rx:Float, ry:Float, rotation:Float, largeArc:Bool, sweep:Bool, x:Float, y:Float ) :Void
function rect( x:Float, y:Float, w:Float, h:Float ) :Void
function roundedRect( x:Float, y:Float, w:Float, h:Float, rx:Float, ry:Float ) :Void
function ellipse( x:Float, y:Float, rx:Float, ry:Float ) :Void
function text( x:Float, y:Float, text:String, format:TextFormat ) :Void
function image( img:ImageData, inRegion:{ y : Float, x : Float, w : Float, h : Float}, outRegion:{ y : Float, x : Float, w : Float, h : Float} ) :Void
function native( o:NativeObject ) :Void
Back | Index