TdxMapPointer.ImageOrigin Property
Specifies an image offset.
Declaration
property ImageOrigin: TdxPointDoublePersistent read; write;
Property Value
Type | Description |
---|---|
TdxPointDoublePersistent | Stores the coordinates of a point (in abstract measurement units). |
Remarks
This property contains multipliers of the source image height and width added to the source point position. For instance, if the loaded image is 100 by 100 pixels and the ImageOrigin.X and ImageOrigin.Y properties are set to 0.5 and 0.3, respectively, the image shifts 50 pixels left and 30 pixels up from the source point. Negative values shift the image right and down, respectively.
See Also