TRasterLayer32

Hierarchy

   |

TLayer32

   |

THitTestLayer32

   |

TRotateLayer32


TRasterLayer32, as its name implies, has been designed to display raster images. However, rather than assigning images directly to the Image property, the MasterImage property should be assigned instead. This way, whenever the layer is resized or rotated, the layer's Image can be update automatically using a MasterImage transformation. This accommodates any number of layer scalings and rotations without without degrading the displayed image (and without altering MasterImage).

Note: It's important that MasterImage has any transparent pixels around it cropped to prevent the display image offsetting when starting a layer rotation.



Reference

Methods Properties
In TRasterLayer32:
Create Angle
Rotate AutoSetHitTestMask
UpdateHitTestMaskOpaque MasterImage
UpdateHitTestMaskTransparent Matrix
In TRotateLayer32:
ResetAngle AutoPivot
PivotPt
In THitTestLayer32:
ClearHitTesting
In TLayer32:
BringForwardOne Bounds
BringToFront CursorId
Destroy GroupOwner
Offset Height
PositionAt Image
PositionCenteredAt Index
SendBackOne Left
SendToBack MidPoint
SetBounds Name
SetSize Opacity
RootOwner
Tag
Top
Visible
Width