Class

PhocColorRect

[]

Description [src]

final class Phoc.ColorRect : GObject.Object
  implements Phoc.Bling {
  /* No available fields */
}

A colored rectangle to be drawn by the compositor.

When created the rectangle is initially unmapped. For it to be drawn it needs to be mapped and attached to the render tree by e.g. adding it as a PhocBling to a PhocView.

[]

Ancestors

[]

Implements

[]

Constructors

phoc_color_rect_new
No description available.

[]

Instance methods

phoc_color_rect_get_alpha

Get the rectangle’s opacity.

phoc_color_rect_get_box

Get the rectangles current coordinates and size as box.

phoc_color_rect_get_color

Get the rectangle’s color.

phoc_color_rect_set_alpha

Set the rectangle’s opacity.

phoc_color_rect_set_box

Sets the rectangles coordinates and size as box.

phoc_color_rect_set_color

Set the rectangle’s color.

Methods inherited from GObject (43)
Methods inherited from PhocBling (6)
[]

Properties

Phoc.ColorRect:alpha

The rectangle’s alpha channel.

Phoc.ColorRect:box

The rectangle’s box in layout coordinates.

Phoc.ColorRect:color

The rectangle’s color.

Phoc.ColorRect:height
No description available.

Phoc.ColorRect:width
No description available.

Phoc.ColorRect:x
No description available.

Phoc.ColorRect:y
No description available.

[]

Signals

Signals inherited from GObject (1)

Class structure