Class: Xberg::PixelDimensions
- Inherits:
-
Object
- Object
- Xberg::PixelDimensions
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#height ⇒ Integer
readonly
Returns the value of attribute height.
-
#width ⇒ Integer
readonly
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize ⇒ PixelDimensions
constructor
A new instance of PixelDimensions.
Constructor Details
#initialize ⇒ PixelDimensions
Returns a new instance of PixelDimensions.
2067 |
# File 'sig/types.rbs', line 2067
def initialize: (?width: Integer, ?height: Integer) -> void
|
Instance Attribute Details
#height ⇒ Integer (readonly)
Returns the value of attribute height.
2065 2066 2067 |
# File 'sig/types.rbs', line 2065 def height @height end |
#width ⇒ Integer (readonly)
Returns the value of attribute width.
2064 2065 2066 |
# File 'sig/types.rbs', line 2064 def width @width end |