Class LinePattern
Inheritance
System.Object
LinePattern
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 class LinePattern : IShowPropertyImpl, IShowProperty, IPropertyEntry, INamedAttribute, ISerializable, ICommandHandler
Constructors
|
Improve this Doc
View Source
LinePattern()
Creates an empty and unnamed LinePattern
Declaration
|
Improve this Doc
View Source
LinePattern(SerializationInfo, StreamingContext)
Constructor required by deserialization
Declaration
protected LinePattern(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
SerializationInfo
|
| System.Runtime.Serialization.StreamingContext |
context |
StreamingContext
|
|
Improve this Doc
View Source
LinePattern(String, Double[])
Declaration
public LinePattern(string name, params double[] pattern)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Double[] |
pattern |
|
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; set; }
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
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
|
Improve this Doc
View Source
Pattern
Declaration
public double[] Pattern { get; set; }
Property Value
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
PatternCount
Declaration
public int PatternCount { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Scale
Declaration
public LinePattern.Scaling Scale { get; set; }
Property Value
|
Improve this Doc
View Source
Solid
Declaration
public bool Solid { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
SubEntries
Overrides SubEntries,
returns the subentries in this property view.
Declaration
public override IShowProperty[] SubEntries { get; }
Property Value
Overrides
|
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
Methods
|
Improve this Doc
View Source
Added(IPropertyPage)
Declaration
public override void Added(IPropertyPage pp)
Parameters
Overrides
|
Improve this Doc
View Source
Clone()
Returns a clone of this LinePattern
Declaration
public LinePattern Clone()
Returns
|
Improve this Doc
View Source
GetGap(Int32)
Declaration
public double GetGap(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| System.Double |
|
|
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
GetStroke(Int32)
Declaration
public double GetStroke(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
LabelChanged(String)
Declaration
public override void LabelChanged(string NewText)
Parameters
| Type |
Name |
Description |
| System.String |
NewText |
|
Overrides
|
Improve this Doc
View Source
Read(String, SerializationInfo, StreamingContext)
Declaration
public static LinePattern Read(string name, SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
Returns
|
Improve this Doc
View Source
Removed(IPropertyPage)
Declaration
public override void Removed(IPropertyPage pp)
Parameters
Overrides
|
Improve this Doc
View Source
SetPattern(Int32, Double, Double)
Declaration
public void SetPattern(int index, double stroke, double gap)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| System.Double |
stroke |
|
| System.Double |
gap |
|
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