Declaration
property Flip: TFlipDir;
Description
Shows the layer content as horizontally or vertically flipped.
Default: fdNone
See Also
◼Rotate◼LayersFastDrawing// Toggle the flipping of the current layer
case ImageEnView1.CurrentLayer.Flip of
fdHorizontal : ImageEnView1.CurrentLayer.Flip := fdVertical;
fdVertical : ImageEnView1.CurrentLayer.Flip := fdNone;
fdNone : ImageEnView1.CurrentLayer.Flip := fdHorizontal;
end;
// Show all text layers as horizontally flipped
for i := 0 to ImageEnView1.LayersCount - 1 do
if ImageEnView1.Layers[ I ].Kind = ielkText then
ImageEnView1.Layers[ I ].Flip := fdHorizontal;
ImageEnView1.Update();