CanvasText
Object Hierarchy:
Goo.CanvasText
Goo.CanvasText
Goo.CanvasText
Goo.CanvasItemSimple
Goo.CanvasItemSimple
Goo.CanvasItemSimple->Goo.CanvasText
GLib.Object
GLib.Object
GLib.Object->Goo.CanvasItemSimple
Goo.CanvasItem
Goo.CanvasItem
Goo.CanvasItem->Goo.CanvasText
Goo.CanvasItem->Goo.CanvasItemSimple
Description:
[
CCode ( type_id =
"goo_canvas_text_get_type ()" ) ]
public class CanvasText :
CanvasItemSimple ,
CanvasItem
GooCanvasText represents a text item.
It is a subclass of CanvasItemSimple and so inherits all of the style properties
such as "fill-color".
It also implements the CanvasItem interface, so you can use the
CanvasItem functions such as raise
and rotate .
The width and height
properties specify the area of the item. If it exceeds that area because there is too much text, it is clipped. The properties can be set
to -1 to disable clipping.
To create a CanvasText use CanvasText .
To get or set the properties of an existing CanvasText , use @get and
@set .
Content:
Properties:
public Alignment alignment { get ; set ; }
public CanvasAnchorType anchor { get ; set ; }
public EllipsizeMode ellipsize { get ; set ; }
public double height { get ; set ; }
public string text { owned get ; set ; }
public bool use_markup { get ; set ; }
public double width { get ; set ; }
public WrapMode wrap { get ; set ; }
public double x { get ; set ; }
public double y { get ; set ; }
Creation methods:
Methods:
Fields:
Inherited Members:
All known members inherited from class Goo.CanvasItemSimple
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Goo.CanvasItem