Container for the main screen buffer. Can be used to transform the screen. To be used through HXP.screen.
HXP.screen
color : Color
Refresh color of the screen.
read only height : Int
Height of the screen.
read only mouseX : Int
X position of the mouse on the screen.
read only mouseY : Int
Y position of the mouse on the screen.
scaleMode : ScaleMode
Controls how the game scale changes when the window is resized.
scaleX : Float
X scale of the screen.
scaleY : Float
Y scale of the screen.
smoothing : Bool
Whether screen smoothing should be used or not.
read only width : Int
Width of the screen.
x : Int
X offset of the screen.
y : Int
Y offset of the screen.
capture () : Image
Captures the current screen as an Image object.
A new Image object.