Show / Hide Table of Contents

Class HatchStyle

Abstract base class for all hatchstyles. A hatchstyle is used to define the interior of a Hatch object.

Inheritance
System.Object
IShowPropertyImpl
HatchStyle
HatchStyleContour
HatchStyleLines
HatchStyleSolid
Implements
IShowProperty
IPropertyEntry
System.Runtime.Serialization.ISerializable
INamedAttribute
ICommandHandler
Inherited Members
IShowPropertyImpl.propertyTreeView
IShowPropertyImpl.labelText
IShowPropertyImpl.resourceId
IShowPropertyImpl.flagsToSuppress
IShowPropertyImpl.SuppressFlags(ShowPropertyLabelFlags)
IShowPropertyImpl.Frame
IShowPropertyImpl.IShowProperty.Added(IPropertyTreeView)
IShowPropertyImpl.Added(IPropertyTreeView)
IShowPropertyImpl.Selected()
IShowPropertyImpl.UnSelected()
IShowPropertyImpl.ChildSelected(IShowProperty)
IShowPropertyImpl.Opened(Boolean)
IShowPropertyImpl.Removed(IPropertyTreeView)
IShowPropertyImpl.ShowOpen(Boolean)
IShowPropertyImpl.Select()
IShowPropertyImpl.InfoText
IShowPropertyImpl.HelpLink
IShowPropertyImpl.SubEntriesCount
IShowPropertyImpl.SubEntries
IShowPropertyImpl.OwnerDrawHeight
IShowPropertyImpl.IShowProperty.SetTabIndex(Int32)
IShowPropertyImpl.StateChangedEvent
IShowPropertyImpl.SetFocus()
IShowPropertyImpl.Hidden
IShowPropertyImpl.ReadOnly
IShowPropertyImpl.Refresh()
IShowPropertyImpl.OnEnterPressed()
IShowPropertyImpl.OnVisibilityChanged(Boolean)
IShowPropertyImpl.IsSelected
IShowPropertyImpl.Concat(IShowProperty[], IShowProperty[])
IShowPropertyImpl.Update(IShowProperty)
IShowPropertyImpl.SelectedBckgColor
IShowPropertyImpl.SelectedTextColor
IShowPropertyImpl.UnselectedBckgColor
IShowPropertyImpl.UnselectedTextColor
IShowPropertyImpl.IPropertyEntry.IsOpen
IShowPropertyImpl.HasDropDownButton
IShowPropertyImpl.ValueIsEditable
IShowPropertyImpl.Flags
IShowPropertyImpl.Label
IShowPropertyImpl.Value
IShowPropertyImpl.ResourceId
IShowPropertyImpl.SubItems
IShowPropertyImpl.ButtonClicked(PropertyEntryButton)
IShowPropertyImpl.OpenOrCloseSubEntries()
IShowPropertyImpl.propertyPage
IShowPropertyImpl.Removed(IPropertyPage)
IShowPropertyImpl.GetDropDownList()
IShowPropertyImpl.StartEdit(Boolean)
IShowPropertyImpl.EndEdit(Boolean, Boolean, String)
IShowPropertyImpl.EditTextChanged(String)
IShowPropertyImpl.IPropertyEntry.Index
IShowPropertyImpl.IPropertyEntry.IndentLevel
IShowPropertyImpl.Selected(IPropertyEntry)
IShowPropertyImpl.UnSelected(IPropertyEntry)
IShowPropertyImpl.ListBoxSelected(Int32)
IShowPropertyImpl.DeferUpdate
IShowPropertyImpl.PropertyEntryChangedStateEvent
IShowPropertyImpl.PropertyEntryChangedState(StateChangedArgs)
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()
Namespace: CADability.Attribute
Assembly: CADability.dll
Syntax
[Serializable]
public abstract class HatchStyle : IShowPropertyImpl, IShowProperty, IPropertyEntry, ISerializable, INamedAttribute, ICommandHandler

Constructors

| Improve this Doc View Source

HatchStyle()

Declaration
public HatchStyle()
| 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

ContextMenu

Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Type Description
MenuWithHandler[]
Overrides
IShowPropertyImpl.ContextMenu
| Improve this Doc View Source

EntryType

Overrides EntryType, returns GroupTitle.

Declaration
public override ShowPropertyEntryType EntryType { get; }
Property Value
Type Description
ShowPropertyEntryType
Overrides
IShowPropertyImpl.EntryType
| Improve this Doc View Source

LabelText

Declaration
public override string LabelText { get; }
Property Value
Type Description
System.String
Overrides
IShowPropertyImpl.LabelText
| Improve this Doc View Source

LabelType

Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
Type Description
ShowPropertyLabelFlags
Overrides
IShowPropertyImpl.LabelType
| 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
Type Description
IAttributeList

Methods

| Improve this Doc View Source

Added(IPropertyPage)

Overrides Added(IPropertyTreeView)

Declaration
public override void Added(IPropertyPage propertyTreeView)
Parameters
Type Name Description
IPropertyPage propertyTreeView
Overrides
IShowPropertyImpl.Added(IPropertyPage)
| Improve this Doc View Source

Clone()

Declaration
public abstract HatchStyle Clone()
Returns
Type Description
HatchStyle
| 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
Type Description
GeoObjectList

The resulting GeoObjects or null

| 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
Type Description
IShowProperty
| Improve this Doc View Source

LabelChanged(String)

Overrides LabelChanged(String)

Declaration
public override void LabelChanged(string NewText)
Parameters
Type Name Description
System.String NewText
Overrides
IShowPropertyImpl.LabelChanged(String)

Explicit Interface Implementations

| Improve this Doc View Source

INamedAttribute.GetSelectionProperty(String, Project, GeoObjectList)

Declaration
IShowProperty INamedAttribute.GetSelectionProperty(string key, Project project, GeoObjectList geoObjectList)
Parameters
Type Name Description
System.String key
Project project
GeoObjectList geoObjectList
Returns
Type Description
IShowProperty
| 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

IShowProperty
IPropertyEntry
System.Runtime.Serialization.ISerializable
INamedAttribute
ICommandHandler
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX