LEADTOOLS JavaScript (Leadtools.Annotations.Core)
LEAD Technologies, Inc

Stroke Property (AnnObject)


Gets or sets the AnnStroke associated with this AnnObject.
Syntax
  get_stroke();
 set_stroke(value);
!MISSING Scrap '_RTJavaScript_PROPERTY_SYNTAX'!

Property Value

TypeDescription
AnnStrokeThe AnnStroke used to draw this AnnObject. The default value is a solid red stroke with length of 1.
Remarks

This property should be used to trace the outline of this object. Each object renderer is responsible for determining whether to use this property and what the outline of the object is. For example, the renderer for AnnRectangleObject will use this property to draw the rectangle area border. Setting Stroke to null will draw a rectangle without a border (only filled, depending on the value of Fill).

Example

For an example, refer to AnnContainer.

See Also

Reference

AnnObject Object
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.