CenterPoint property (LEADDlgImgEffect Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

TPoint CenterPoint

Delphi Syntax

CenterPoint: TPoint

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the center point.

This property is associated with the following dialog boxes:

RadialBlur dialog box

In this case it represents the point about which the image is blurred.

ZoomBlur dialog box

In this case it represents the point about which the image is blurred and zoomed.

ZoomWave dialog box

In this case it represents the center point from which the wave is zoomed.

RadialWave dialog box

In this case it represents the point from which the wave radiates.

Swirl dialog box

In this case it represents the center of the swirl.

Ripple dialog box

In this case it represents the center of the Ripple wave.

Bending dialog box

In this case it represents the center of the arc. This is ignored when either BND_HORZ or BND_VERT is set in the BendingFlags property.

Spherize dialog box

In this case it represents the center of the sphere.

Pixelate dialog box

In this case it represents the center of revolution when circular cells are used. This property will be ignored if PIX_RECT is set in PixelateFlags property.

Punch dialog box

In this case it represents the point around which the image will be pinched or punched. The center point must be defined inside the bitmap or inside the region, if the bitmap has a region.

The point should be within the image rectangle coordinates. However, if there is a region in the bitmap, then the point should be within the region.

See Also

Elements:

ShowRadialBlurDlg method, ShowZoomBlurDlg method, ShowRadialWaveDlg method, ShowSwirlDlg method, ShowRippleDlg method, ShowBendingDlg method, ShowSpherizeDlg method, ShowPixelateDlg method, ShowPunchDlg method, ShowZoomWaveDlg method, Dimension property, Stress property, Angle property, Amplitude property, WaveLength property, Phase property, FillColor property, RadialWaveFlags property, Frequency property, ZoomFactor property, ZoomWaveFlags property, Value property, PunchFlags property, Attenuation property, RippleFlags property, BendingFlags property, SpherizeFlags property, CellWidth property, CellHeight property, Opacity property, PixelateFlags property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events