fill Property

Summary

Gets or sets the AnnBrush associated with this AnnObject.

Syntax

JavaScript Syntax
Object.defineProperty(AnnObject.prototype, 'fill', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
fill: AnnBrush; 

Property Value

The 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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly