Leadtools.Annotations.Core Namespace > AnnObject Class : SupportsStroke Property |
public virtual bool SupportsStroke {get;}
Public Overridable ReadOnly Property SupportsStroke As Boolean
public virtual bool SupportsStroke {get;}
@property (nonatomic,readonly) BOOL supportsStroke;
public boolean getSupportsStroke()
get_SupportsStroke();
Derived classes should override SupportsStroke, SupportsFill and SupportsFont to indicate whether Stroke, Fill or Font respectively will be used by the object. This will insure that the object will save and load the values during serialization. Some object renderers will also check these values to prepare a font or a brush.
For example, a rectangle object will override this property to return true, while a line object will return false.