Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
GSDL::Draw::DrawPointCommand
Inherits
GSDL::Draw::DrawColorCommand
<
GSDL::Draw::DrawCommand
<
Reference
<
Object
Constructors
new
(z_index :
Int32
, color :
Color
, x :
Float32
, y :
Float32
, scale_x :
Float32
, scale_y :
Float32
, clip_rect :
SDL3::Rect
|
Nil
= nil)
Source
Instance methods
clipped_out?
Source
on_screen?
(screen_w :
Float32
, screen_h :
Float32
) :
Bool
Source
x
Source
x=
(x :
Float32
)
Source
y
Source
y=
(y :
Float32
)
Source