struct ProceduralArt::Subdivision::Rect

Defined in:

generators/subdivision.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32 = 0, y : Int32 = 0, width : Int32 = 0, height : Int32 = 0) #

[View source]

Instance Method Detail

def aspect_ratio #

[View source]
def divisions : Int32 #

[View source]
def divisions=(divisions : Int32) #

[View source]
def height : Int32 #

[View source]
def height=(height : Int32) #

[View source]
def to_drawable #

[View source]
def to_rect #

[View source]
def width : Int32 #

[View source]
def width=(width : Int32) #

[View source]
def x : Int32 #

[View source]
def x=(x : Int32) #

[View source]
def y : Int32 #

[View source]
def y=(y : Int32) #

[View source]