
Leadtools.Controls.ImageViewerSpyGlassShape = function() { };
Leadtools.Controls.ImageViewerSpyGlassShape.prototype = {
none = 0,
rectangle = 1,
roundRectangle = 2,
ellipse = 3,
};
!MISSING Scrap '_RTJavaScript_Enumeration_SYNTAX'!
| Value | Member | Description |
|---|---|---|
| 0 | none | None |
| 1 | rectangle | The glass is a rectangle. |
| 2 | roundRectangle | The glass is a round rectangle. |
| 3 | ellipse | 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.