Class HatchStyle
Abstract base class for all hatchstyles. A hatchstyle is used to define the
interior of a Hatch object.
Inheritance
System.Object
HatchStyle
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: CADability.dll
Syntax
[Serializable]
public abstract class HatchStyle : IShowPropertyImpl, IShowProperty, IPropertyEntry, ISerializable, INamedAttribute, ICommandHandler
Constructors
|
Improve this Doc
View Source
HatchStyle()
Declaration
|
Improve this Doc
View Source
HatchStyle(SerializationInfo, StreamingContext)
Constructor required by deserialization
Declaration
protected HatchStyle(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
SerializationInfo
|
| System.Runtime.Serialization.StreamingContext |
context |
StreamingContext
|
Properties
|
Improve this Doc
View Source
Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Overrides
|
Improve this Doc
View Source
EntryType
Declaration
public override ShowPropertyEntryType EntryType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
LabelText
Declaration
public override string LabelText { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
|
Improve this Doc
View Source
LabelType
Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Name
Gets or sets the name of the HatchStyle
Declaration
public string Name { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Parent
Declaration
public IAttributeList Parent { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Added(IPropertyPage)
Declaration
public override void Added(IPropertyPage propertyTreeView)
Parameters
Overrides
|
Improve this Doc
View Source
Clone()
Declaration
public abstract HatchStyle Clone()
Returns
|
Improve this Doc
View Source
FireDidChange(String, Object)
Declaration
protected void FireDidChange(string propertyName, object propertyOldValue)
Parameters
| Type |
Name |
Description |
| System.String |
propertyName |
|
| System.Object |
propertyOldValue |
|
|
Improve this Doc
View Source
GenerateContent(CompoundShape, Plane)
Generates the lines or other GeoObjects that fill out the given shape
in the given plane. If a HatchStyle returns null, it must implement the
and the methods.
Default implementation returns null.
Declaration
public virtual GeoObjectList GenerateContent(CompoundShape shape, Plane plane)
Parameters
| Type |
Name |
Description |
| CompoundShape |
shape |
The shape to be filled
|
| Plane |
plane |
The plane of the shape
|
Returns
|
Improve this Doc
View Source
GetObjectData(SerializationInfo, StreamingContext)
Implements System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
The System.Runtime.Serialization.SerializationInfo to populate with data.
|
| System.Runtime.Serialization.StreamingContext |
context |
The destination (System.Runtime.Serialization.StreamingContext) for this serialization.
|
|
Improve this Doc
View Source
GetShowProperty()
Returns an object to display the properties of the HatchStyle
Declaration
public abstract IShowProperty GetShowProperty()
Returns
|
Improve this Doc
View Source
LabelChanged(String)
Declaration
public override void LabelChanged(string NewText)
Parameters
| Type |
Name |
Description |
| System.String |
NewText |
|
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
INamedAttribute.GetSelectionProperty(String, Project, GeoObjectList)
Declaration
IShowProperty INamedAttribute.GetSelectionProperty(string key, Project project, GeoObjectList geoObjectList)
Parameters
Returns
|
Improve this Doc
View Source
ICommandHandler.OnCommand(String)
Declaration
bool ICommandHandler.OnCommand(string MenuId)
Parameters
| Type |
Name |
Description |
| System.String |
MenuId |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ICommandHandler.OnSelected(MenuWithHandler, Boolean)
Declaration
void ICommandHandler.OnSelected(MenuWithHandler selectedMenuItem, bool selected)
Parameters
| Type |
Name |
Description |
| MenuWithHandler |
selectedMenuItem |
|
| System.Boolean |
selected |
|
|
Improve this Doc
View Source
ICommandHandler.OnUpdateCommand(String, CommandState)
Declaration
bool ICommandHandler.OnUpdateCommand(string MenuId, CommandState CommandState)
Parameters
| Type |
Name |
Description |
| System.String |
MenuId |
|
| CommandState |
CommandState |
|
Returns
| Type |
Description |
| System.Boolean |
|
Implements
System.Runtime.Serialization.ISerializable