class Phase::Box
- Phase::Box
- Reference
- Object
Defined in:
phase/box.crConstructors
Instance Method Summary
- #height : Float64
- #height=(height : Float64)
- #origin_x : Float64
- #origin_x=(origin_x : Float64)
- #origin_y : Float64
- #origin_y=(origin_y : Float64)
- #rotated?
- #rotation : Float64
- #rotation=(rotation : Float64)
- #width : Float64
- #width=(width : Float64)
- #x : Float64
- #x=(x : Float64)
- #y : Float64
- #y=(y : Float64)
Constructor Detail
def self.new(x : Float64 = 0_f32, y : Float64 = 0_f32, width : Float64 = 1, height : Float64 = 1, rotation : Float64 = 0, origin_x : Float64 = 0, origin_y : Float64 = 0)
#