GraffitiMap.Icon

View Categories

Enumerations #

This class exposes no enumerations.

Constants #

This class exposes no constants.

Events #

This class exposes no events.

Methods #

DefinitionParametersReturn TypeDescription
Constructorp as PictureNoneCreates a new instance of the class.
Constructorurl as StringNoneCreates a new instance of the class.
Constructorwf as WebFileNoneCreates a new instance of the class.

Properties #

NameTypeDefault ValueDescription
AnchorXojo.PointNilThe position at which to anchor an image in correspondence to the location of the marker on the map. By default, the anchor is located along the center point of the bottom of the image.
LabelOriginXojo.PointNilThe origin of the label relative to the top-left corner of the icon image, if a label is supplied by the marker. By default, the origin is located in the center point of the image.
OriginXojo.PointNilThe position of the image within a sprite, if any. By default, the origin is located at the top left corner of the image (0, 0).
ScaledSizeXojo.PointNilThe size of the entire image after scaling, if any. Use this property to stretch/shrink an image or a sprite.
SizeXojo.PointNilThe display size of the sprite or image. When using sprites, you must specify the sprite size. If the size is not provided, it will be set when the image loads.
URLStringNoneThe URL to the image used for the marker icon.

Examples #

This class currently has no examples.

Notes #

This class currently has no notes.