TRasterLayer32

Ancestors

   |
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:
Rotate Angle
UpdateHitTestMaskOpaque AutoSetHitTestMask
UpdateHitTestMaskTransparent MasterImage
Matrix
In TRotateLayer32:
ResetAngle AutoPivot
PivotPt
In THitTestLayer32:
UpdateHitTestMask HitTestEnabled
In TLayer32:
AddChild BlendFunc
BringForwardOne Child
BringToFront ChildCount
ClearChildren ClipPath
Create CursorId
DeleteChild Height
Destroy Image
InsertChild Index
Invalidate InnerBounds
MakeAbsolute InnerRect
MakeRelative Left
Offset Location
PositionAt MidPoint
PositionCenteredAt Name
SendBackOne Opacity
SendToBack OuterBounds
SetInnerBounds Parent
SetSize Root
RootOwner
Top
UserData
Visible
Width