Xinf API Reference
erno
BasicRenderer
Constants
ImageData
Keys
NativeContainer
NativeObject
ObjectModelRenderer
Paint
Pen
PenRenderer
Renderer
Runtime
TGradientStop
TextFormat
event
Event
EventDispatcher
EventKind
FrameEvent
GeometryEvent
ImageLoadEvent
KeyboardEvent
MouseEvent
ScrollEvent
SimpleEvent
SimpleEventDispatcher
geom
Concatenate
Identity
Matrix
Rectangle
Rotate
Scale
SkewX
SkewY
TMatrix
TPoint
TRectangle
Transform
TransformParser
Translate
ony
traits
LengthTrait
LineIncrementTrait
PaintTrait
PreserveAspectRatioTrait
StringChoiceTrait
StringListTrait
TRect
type
Align
CapsStyle
Display
Editability
JoinStyle
Length
Paint
PathSegment
PreserveAspectRatio
SVGPathSegment
StringList
TextAnchor
Visibility
Circle
Crop
Definitions
Element
ElementImpl
Ellipse
Group
GroupImpl
Image
Line
Path
PathParser
Polygon
Polyline
Rectangle
Root
Svg
Text
TextArea
Use
style
Selector
Stylable
StyleParser
StyleRule
StyleSheet
StyledElement
traits
BoundedFloatTrait
CurrentColor
EnumTrait
FloatTrait
Inherit
IntTrait
SpecialTraitValue
StringTrait
TraitAccess
TraitDefinition
TraitTypeException
TypedTrait
xml
Binding
ByAttributeValue
Document
HasAttribute
IBinding
Instantiator
Node
Serializable
URL
XMLElement
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