mapscript.labelCacheMemberObj

class mapscript.labelCacheMemberObj

An individual feature label. The labelCacheMemberObj class is associated with labelCacheObj.

Overview

The labelCacheMemberObj has the following relationships:

../../../_images/labelCacheMemberObj_labelCacheObj.png

Attributes

bbox

rectObj immutable Bounds of the whole cachePtr.

classindex

int immutable Index of the class of the labelled feature

layerindex

int immutable The index of the layer of the labelled feature

leaderbbox

rectObj immutable Leader rectObj

leaderline

lineObj immutable Leader lineObj

markerid

int immutable Corresponding marker (POINT layers only)

numtextsymbols

int immutable Number of text symbols found in textsymbols

point

pointObj immutable Label point

status

int immutable Has this label been drawn or not?

thisown

The membership flag

Methods

__init__()[źródło]