fill Property

Summary

Gets or sets the AnnBrush associated with this AnnObject.

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnObject.prototype, 'fill', 
	get: function(), 
	set: function(value) 
) 
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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.