Gets or sets the flipVertical, which will flip the graphic vertically (across the x axis)
Gets or sets the opacity of the graphic, 0 is transparent, 1 is solid (opaque).
Gets or sets the origin of the graphic, if not set the center of the graphic is the origin
Gets or sets the rotation of the graphic
Gets or sets the scale of the graphic, this affects the width and
Gets or sets wether to show debug information about the graphic
Gets or sets the height of the graphic (always positive)
Gets or sets the height of the graphic (always positive)
Gets a copy of the bounds in pixels occupied by the graphic on the the screen. This includes scale.
Gets or sets the width of the graphic (always positive)
Gets or sets the width of the graphic (always positive)
Meant to be overriden by the graphic implementation to draw the underlying image (HTMLCanvasElement or HTMLImageElement) to the graphics context without transform. Transformations like position, rotation, and scale are handled by Graphic._preDraw and Graphic._postDraw
Apply any addtional work after Graphic._drawImage and restore the context state.
Apply affine transformations to the graphics context to manipulate the graphic before Graphic._drawImage
Returns a new instance of the graphic that has the same properties
Draw the whole graphic to the context including transform
The excalibur graphics context
Gets or sets the flipHorizontal, which will flip the graphic horizontally (across the y axis)