Xinf API Reference
Back | Index
class xinf.erno.Pen
import xinf.erno.PenRenderer
A Pen structure keeps the style with which to draw graphic objects for a PenRenderer. There should be no need to use this structure, except if you implement your own Renderer that derives from PenRenderer.
var fill :Paint
current fill color, may be null.
var stroke :Paint
var width :Float
var caps :Int
var join :Int
var miterLimit :Float
var dashArray :Iterable<Float>
var dashOffset :Float
function new( ) :Void
constructor, initializes a new Pen structure with default values.
function clone( ) :Pen
return a new Pen structure with the same properties as this Pen.
Back | Index