struct Crysterm::Rectangle

Overview

Used to represent minimal widget position. It is returned from methods that run calculations to determine that. *i fields are start positions, *l methods are end positions.

Used only internally; could be replaced by anything else that has the necessary properties.

Defined in:

namespace.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(xi : Int32, xl : Int32, yi : Int32, yl : Int32, get : Bool = false) #

NOTE Don't remember the exact function of #get. IIRC it goes to recalculate from parent. Check what the function is and document it here.


[View source]

Instance Method Detail

def get : Bool #

[View source]
def xi : Int32 #

[View source]
def xl : Int32 #

[View source]
def yi : Int32 #

[View source]
def yl : Int32 #

[View source]