Show / Hide Table of Contents

Class HatchStyleLines

An implementation of a HatchStyle, that defines a style consisting of parallel lines.

Inheritance
System.Object
IShowPropertyImpl
HatchStyle
HatchStyleLines
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.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 HatchStyleLines : HatchStyle, IShowProperty, IPropertyEntry, INamedAttribute, ICommandHandler, ISerializable

Constructors

| Improve this Doc View Source

HatchStyleLines()

Declaration
public HatchStyleLines()
| Improve this Doc View Source

HatchStyleLines(SerializationInfo, StreamingContext)

Constructor required by deserialization

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

Alternate

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

AOffset

Declaration
protected Angle AOffset { get; set; }
Property Value
Type Description
Angle
| 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

LineAngle

Sets or gets the lina angle for this hatch style.

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

LineDistance

Sets or gets the line distance for this hatchstyle.

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

LinePattern

Gets or sets the line pattern for the lines of this hatch style

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

LineWidth

Gets or sets the line width for the lines of this hatch style

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

MarginOffset

Sets or gets the distance from the shapes border

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

Number

Declaration
public int Number { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Offset

Declaration
public SweepAngle Offset { get; set; }
Property Value
Type Description
SweepAngle
| 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 LineAngle 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

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()

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)

Implements

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