LEADTOOLS JavaScript (Leadtools.Annotations.Core)

Fill Property (AnnObject)

Show in webframe
Gets or sets the AnnBrush associated with this AnnObject.
Syntax
get_fill();
set_fill(value);
Object.defineProperty('fill');

Property Value

TypeDescription
AnnBrushThe AnnBrush used to fill this AnnObject. The default value is null.
Remarks

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

Example

For an example, refer to AnnContainer.

See Also

Reference

AnnObject Object
AnnObject Members

 

 


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