struct Marionette::Rect

Included Modules

Defined in:

marionette/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(height : Float64, width : Float64, x : Float64, y : Float64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(height _height = @height, width _width = @width, x _x = @x, y _y = @y) #

[View source]
def height : Float64 #

def width : Float64 #

def x : Float64 #

def y : Float64 #