Hi Nigel.
I have a problem with drawing the selected area (see picture).
Given: A layer with a selected area of the entire layer in the center of the image. property set
let's start
with ImageEnView do begin
LayersAdd( ielkShape,600, 600, 300, 300 );
TIEShapeLayer(CurrentLayer).Shape := iesRoundRect;
with CurrentLayer do begin
BorderColor := clBlack;
BorderWidth := 2;
FillColor := $00F0F0F0; //clBlack;
FillColor2 := clWhite;
FillGradient := gpgDiagCenter2; //gpgVertical;
Opacity := 0.2;
Cropped := true;
end;
Soft_Shadow(CurrentLayer,40);
end;
After going beyond the main image contour.
Resizes the selected area of the moved layer.
See attached image.
Rudolf