OsmGpsMap.MapPolygon

g GObject.Object GObject.Object OsmGpsMap.MapPolygon OsmGpsMap.MapPolygon GObject.Object->OsmGpsMap.MapPolygon

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_track ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

breakable

bool

r/w/c

can polygons have points inserted using breakers

editable

bool

r/w/c

should this polygon be editable

shade-alpha

float

r/w/c

sets the translucency of the shaded area of a polygon

shaded

bool

r/w/c

should this polygon be shaded

track

int

r/w/c

list of points for the polygon

visible

bool

r/w/c

should this poly be visible

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class OsmGpsMap.MapPolygon(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

OsmGpsMap.MapPolygonClass

classmethod new()
Return type:

OsmGpsMap.MapPolygon

get_track()
Returns:

The OsmGpsMap.MapTrack of the polygon

Return type:

OsmGpsMap.MapTrack

Get track from the polygon

Property Details

OsmGpsMap.MapPolygon.props.breakable
Name:

breakable

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, CONSTRUCT

can polygons have points inserted using breakers

OsmGpsMap.MapPolygon.props.editable
Name:

editable

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, CONSTRUCT

should this polygon be editable

OsmGpsMap.MapPolygon.props.shade_alpha
Name:

shade-alpha

Type:

float

Default Value:

0.5

Flags:

READABLE, WRITABLE, CONSTRUCT

sets the translucency of the shaded area of a polygon

OsmGpsMap.MapPolygon.props.shaded
Name:

shaded

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, CONSTRUCT

should this polygon be shaded

OsmGpsMap.MapPolygon.props.track
Name:

track

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

list of points for the polygon

OsmGpsMap.MapPolygon.props.visible
Name:

visible

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, CONSTRUCT

should this poly be visible