Fork me on GitHub
View source

package haxepunk.graphics

class ColoredRect


extends Graphic

Constructor

View source

new (width : Float, height : Float, color : Color = Color.White, alpha : Float = 1) : Void

Variables

height : Float

width : Float

Functions

View source

centerOrigin () : Void

Centers the origin of this ColoredRect.

View source

render (point : Vector2, camera : Camera) : Void