Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
pf2d
v0.3.0
PF2d
Bezier
Cubic
Curve
Quad
Circle
Drawable
Line
Matrix
Rect
Shape
Transform
Vec
Vec2
Vec3
Vec4
Viewable
Generated using Crystal 1.14.0
2024-11-26 10:49:47 UTC
struct
PF2d::
Circle(T)
PF2d::Circle(T)
Struct
Value
Object
Defined in:
pf2d/circle.cr
Constructors
.new
(center : Vec2(T), radius : T)
Instance Method Summary
#center
: Vec2(T)
#center=
(center : Vec2(T))
#radius
: T
#radius=
(radius : T)
Constructor Detail
def self.
new
(center :
Vec2
(T), radius : T)
#
[
View source
]
Instance Method Detail
def
center
:
Vec2
(T)
#
[
View source
]
def
center=
(center :
Vec2
(T))
#
[
View source
]
def
radius
: T
#
[
View source
]
def
radius=
(radius : T)
#
[
View source
]