Leadtools.Controls.ImageViewerSpyGlassShape = function() { };
Leadtools.Controls.ImageViewerSpyGlassShape.prototype = {
none = 0x00000000,
rectangle = 0x00000001,
roundRectangle = 0x00000002,
ellipse = 0x00000003,
};
| Value | Member | Description |
|---|---|---|
| 0x00000000 | none |
(0)None |
| 0x00000001 | rectangle |
(1)The glass is a rectangle. |
| 0x00000002 | roundRectangle |
(2)The glass is a round rectangle. |
| 0x00000003 | ellipse |
(3)The glass is an ellipse. |
Used as the value for the ImageViewerSpyGlassInteractiveMode.Shape property.
The following properties are used to draw the shape (excluding None of course):
| Member | Description |
|---|---|
| ImageViewerSpyGlassInteractiveMode.Size |
The size of the shape. |
| ImageViewerSpyGlassInteractiveMode.BackgroundColor |
The color used to fill the background of the shape |
| ImageViewerSpyGlassInteractiveMode.BorderColor |
The color used to stroke the border of the shape |
| ImageViewerSpyGlassInteractiveMode.BorderThickness |
The thickness of the border |
| ImageViewerSpyGlassInteractiveMode.RoundRectangleRadius |
The arc size of the rounded corners if the shape is ImageViewerSpyGlassShape.RoundRectangle |
For an example, refer to ImageViewerSpyGlassInteractiveMode.