Class: SDC::FloatRect
- Inherits:
-
Object
- Object
- SDC::FloatRect
- Defined in:
- engine_docs/automatic_doc_FloatRect.rb,
engine_docs/automatic_doc_FloatRect.rb
Overview
Simple rectangle consisting of float valued boundaries
Instance Attribute Summary collapse
-
#height ⇒ Float
Height of the rectangle.
-
#left ⇒ Float
x coordinate of the left rectangle side.
-
#top ⇒ Float
y coordinate of the upper rectangle side.
-
#width ⇒ Float
Width of the rectangle.
Instance Method Summary collapse
-
#initialize(left = 0.0, top = 0.0, width = 0.0, height = 0.0) ⇒ FloatRect
constructor
Creates a rectangle with given left top point, width and height.
Constructor Details
#initialize(left = 0.0, top = 0.0, width = 0.0, height = 0.0) ⇒ FloatRect
Creates a rectangle with given left top point, width and height
|
# File 'engine_docs/automatic_doc_FloatRect.rb', line 9
|
Instance Attribute Details
#height ⇒ Float
Height of the rectangle
|
# File 'engine_docs/automatic_doc_FloatRect.rb', line 22
|
#left ⇒ Float
x coordinate of the left rectangle side
|
# File 'engine_docs/automatic_doc_FloatRect.rb', line 26
|
#top ⇒ Float
y coordinate of the upper rectangle side
|
# File 'engine_docs/automatic_doc_FloatRect.rb', line 30
|
#width ⇒ Float
Width of the rectangle
|
# File 'engine_docs/automatic_doc_FloatRect.rb', line 18
|