Igis Documentation Beta

Class Painter​Base

open class PainterBase : PainterProtocol 
%97 PainterBase PainterBase PainterProtocol PainterProtocol PainterBase->PainterProtocol

Conforms To

PainterProtocol

Initializers

init()

public required init() 

Methods

frames​Per​Second()

open func framesPerSecond() -> Int 

setup(canvas:​)

open func setup(canvas:Canvas) 

calculate(canvas​Id:​canvas​Size:​)

open func calculate(canvasId:Int, canvasSize:Size?) 

render(canvas:​)

open func render(canvas:Canvas) 

on​Canvas​Resize(size:​)

open func onCanvasResize(size:Size) 

on​Window​Resize(size:​)

open func onWindowResize(size:Size) 

on​Click(location:​)

open func onClick(location:Point) 

on​Mouse​Down(location:​)

open func onMouseDown(location:Point) 

on​Mouse​Up(location:​)

open func onMouseUp(location:Point) 

on​Window​Mouse​Up(location:​)

open func onWindowMouseUp(location:Point) 

on​Mouse​Move(location:​)

open func onMouseMove(location:Point) 

on​Key​Down(key:​code:​ctrl​Key:​shift​Key:​alt​Key:​meta​Key:​)

open func onKeyDown(key:String, code:String, ctrlKey:Bool, shiftKey:Bool, altKey:Bool, metaKey:Bool) 

on​Key​Up(key:​code:​ctrl​Key:​shift​Key:​alt​Key:​meta​Key:​)

open func onKeyUp(key:String, code:String, ctrlKey:Bool, shiftKey:Bool, altKey:Bool, metaKey:Bool)