LEADTOOLS JavaScript (Leadtools.Controls)

ImageViewerSpyGlassShape Enumeration

Show in webframe
Indicates the shape of the ImageViewerSpyGlassInteractiveMode spy glass.
Syntax
Leadtools.Controls.ImageViewerSpyGlassShape = function() { };
Leadtools.Controls.ImageViewerSpyGlassShape.prototype = {
none = 0x00000000, rectangle = 0x00000001, roundRectangle = 0x00000002, ellipse = 0x00000003, };
Members
ValueMemberDescription
0x00000000none

(0)None

0x00000001rectangle

(1)The glass is a rectangle.

0x00000002roundRectangle

(2)The glass is a round rectangle.

0x00000003ellipse

(3)The glass is an ellipse.

Remarks

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

Example

For an example, refer to ImageViewerSpyGlassInteractiveMode.

See Also

Reference

Leadtools.Controls Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.