Class: GOffice::CanvasRectangle

Inherits:
CanvasStyledItem show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from CanvasStyledItem

#cairo_line=, #scale_line_width, #scale_line_width=, #scale_line_width?, #style, #style=

Methods inherited from CanvasItem

#bounds_changed, #canvas, #canvas=, #copy, #destroy, #distance, #draw, #draw_region, #duplicate, #get_bounds, #grab, #hide, #initialize, #invalidate, #is_visible, #lower, #lower_to_bottom, #operator, #operator=, #parent, #parent=, #raise, #raise_to_top, #set, #show, #style_context, #transform=, #ungrab, #visible=, #window

Constructor Details

This class inherits a constructor from GOffice::CanvasItem

Instance Method Details

#heightFloat

Returns height.

Returns:

  • (Float)

    height

#height=(height) ⇒ Float

Parameters:

  • height (Float)

Returns:

  • (Float)

    height

  • (Float)

    height

#rotationFloat

Returns rotation.

Returns:

  • (Float)

    rotation

#rotation=(rotation) ⇒ Float

Parameters:

  • rotation (Float)

Returns:

  • (Float)

    rotation

  • (Float)

    rotation

#rxFloat

Returns rx.

Returns:

  • (Float)

    rx

#rx=(rx) ⇒ Float

Parameters:

  • rx (Float)

Returns:

  • (Float)

    rx

  • (Float)

    rx

#ryFloat

Returns ry.

Returns:

  • (Float)

    ry

#ry=(ry) ⇒ Float

Parameters:

  • ry (Float)

Returns:

  • (Float)

    ry

  • (Float)

    ry

#typeInteger

Returns type.

Returns:

  • (Integer)

    type

#type=(type) ⇒ Integer

Parameters:

  • type (Integer)

Returns:

  • (Integer)

    type

  • (Integer)

    type

#widthFloat

Returns width.

Returns:

  • (Float)

    width

#width=(width) ⇒ Float

Parameters:

  • width (Float)

Returns:

  • (Float)

    width

  • (Float)

    width

#xFloat

Returns x.

Returns:

  • (Float)

    x

#x=(x) ⇒ Float

Parameters:

  • x (Float)

Returns:

  • (Float)

    x

  • (Float)

    x

#yFloat

Returns y.

Returns:

  • (Float)

    y

#y=(y) ⇒ Float

Parameters:

  • y (Float)

Returns:

  • (Float)

    y

  • (Float)

    y