Show / Hide Table of Contents

Class HatchStyleContour

An implementation of a HatchStyle, that defines a style consisting of contours inside the shape.

Inheritance
System.Object
IShowPropertyImpl
HatchStyle
HatchStyleContour
Implements
IShowProperty
IPropertyEntry
INamedAttribute
ICommandHandler
System.Runtime.Serialization.ISerializable
Inherited Members
HatchStyle.Parent
HatchStyle.FireDidChange(String, Object)
HatchStyle.Name
HatchStyle.INamedAttribute.GetSelectionProperty(String, Project, GeoObjectList)
HatchStyle.LabelText
HatchStyle.Added(IPropertyPage)
HatchStyle.LabelType
HatchStyle.EntryType
HatchStyle.ContextMenu
HatchStyle.LabelChanged(String)
HatchStyle.GetObjectData(SerializationInfo, StreamingContext)
HatchStyle.ICommandHandler.OnCommand(String)
HatchStyle.ICommandHandler.OnUpdateCommand(String, CommandState)
HatchStyle.ICommandHandler.OnSelected(MenuWithHandler, Boolean)
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.ShowOpen(Boolean)
IShowPropertyImpl.Select()
IShowPropertyImpl.InfoText
IShowPropertyImpl.HelpLink
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 class HatchStyleContour : HatchStyle, IShowProperty, IPropertyEntry, INamedAttribute, ICommandHandler, ISerializable

Constructors

| Improve this Doc View Source

HatchStyleContour()

Declaration
public HatchStyleContour()
| Improve this Doc View Source

HatchStyleContour(SerializationInfo, StreamingContext)

Constructor required by deserialization

Declaration
protected HatchStyleContour(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

ColorDef

Gets or sets the color of the lines of this hatch style

Declaration
public ColorDef ColorDef { get; set; }
Property Value
Type Description
ColorDef
| Improve this Doc View Source

CounterClock

Gets or sets the direction of the curves

Declaration
public bool CounterClock { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

FirstDistance

Gets or sets the distance to the out bounds of the area to be filled.

Declaration
public double FirstDistance { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

HoleMode

Gets or sets the mode how to proceed with holes inside the area to be filled

Declaration
public HatchStyleContour.EHoleMode HoleMode { get; set; }
Property Value
Type Description
HatchStyleContour.EHoleMode
| Improve this Doc View Source

Inbound

Gets or sets the order of the curves: true from the outside to the inside, false from inside to outside

Declaration
public bool Inbound { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LineDistance

Gets or stes the line distance. This is the distance between adjacent contours.

Declaration
public double LineDistance { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

SpiralMode

Declaration
public HatchStyleContour.ESpiralMode SpiralMode { get; set; }
Property Value
Type Description
HatchStyleContour.ESpiralMode
| Improve this Doc View Source

SubEntries

Overrides SubEntries, returns the subentries in this property view.

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

SubEntriesCount

Overrides SubEntriesCount, returns the number of subentries in this property view.

Declaration
public override int SubEntriesCount { get; }
Property Value
Type Description
System.Int32
Overrides
IShowPropertyImpl.SubEntriesCount

Methods

| Improve this Doc View Source

Clone()

Declaration
public override HatchStyle Clone()
Returns
Type Description
HatchStyle
Overrides
HatchStyle.Clone()
| Improve this Doc View Source

GenerateContent(CompoundShape, Plane)

This method is used by a Hatch object to calculate its contents. It generates a set of parallel lines according to LineDistance and and clips them with the given shape. The lines are projected into the 3D world by the given plane. Clip(ICurve2D, Boolean)

Declaration
public override GeoObjectList GenerateContent(CompoundShape shape, Plane plane)
Parameters
Type Name Description
CompoundShape shape

shape of the hatch object

Plane plane

local plane of the hatch object

Returns
Type Description
GeoObjectList
Overrides
HatchStyle.GenerateContent(CompoundShape, Plane)
| Improve this Doc View Source

GetShowProperty()

Declaration
public override IShowProperty GetShowProperty()
Returns
Type Description
IShowProperty
Overrides
HatchStyle.GetShowProperty()
| Improve this Doc View Source

Removed(IPropertyTreeView)

Overrides Removed(IPropertyTreeView)

Declaration
public override void Removed(IPropertyTreeView propertyTreeView)
Parameters
Type Name Description
IPropertyTreeView propertyTreeView

the IPropertyTreeView from which it was removed

Overrides
IShowPropertyImpl.Removed(IPropertyTreeView)

Explicit Interface Implementations

| Improve this Doc View Source

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Declaration
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

Implements

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