ImageEn, unit iexUserInteractions |
|
TIETransformToolInteraction.FillMode
Declaration
property FillMode: TIETransformToolFillMode;
Description
Specifies whether to fill fill new border zones with a fixed color fill (ietfFixedColor) or by replicating existing content (ietfReplicate).
When FillMode = ietfFixedColor, use
FillColor to specify the fill color.
Note: ietfFixedColor is equivalent to the IEVision type
ievBORDER_CONSTANT. ietfReplicate is equivalent to
ievBORDER_REPLICATE
Default: ietfReplicate
// Original image

// Fill new borders areas with gray
ImageEnView1.TransformTool.FillMode := ietfFixedColor;
ImageEnView1.TransformTool.FillColor := clGray;

// Replicate existing content when filling new border areas
ImageEnView1.TransformTool.FillMode := ietfReplicate;
