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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly