Class ConstructAction.DefaultAngle
A DefaultAngle object is usually used in conjunction with a ConstructAction.AngleInput object (see DefaultAngle). It specifies a default value for the input field as long as the user didn't specify that input via keybord or mouse. When the angle input is locked, the value is saved in the corresponding DefaultAngle object. DefaultAngle objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.
Inheritance
System.Object
ConstructAction.DefaultAngle
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()
Namespace: CADability.Actions
Assembly: CADability.dll
Syntax
public class DefaultAngle
Constructors
| Improve this Doc View SourceDefaultAngle()
Creates an uninitialized DefaultAngle
Declaration
public DefaultAngle()
DefaultAngle(ConstructAction.DefaultAngle.StartValue)
Creates an uninitialized DefaultAngle object with a definition how to initialize upon first usage.
Declaration
public DefaultAngle(ConstructAction.DefaultAngle.StartValue sw)
Parameters
| Type | Name | Description |
|---|---|---|
| ConstructAction.DefaultAngle.StartValue | sw | how to initilize |
Fields
| Improve this Doc View SourceLocked
Locked if true. A locked input is considered fixed (see Fixed)
Declaration
public bool Locked
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Properties
| Improve this Doc View SourceAngle
returns the Angle
Declaration
public Angle Angle { get; set; }
Property Value
| Type | Description |
|---|---|
| Angle |
Operators
| Improve this Doc View SourceImplicit(ConstructAction.DefaultAngle to Angle)
Converts to an Angle
Declaration
public static implicit operator Angle(ConstructAction.DefaultAngle da)
Parameters
| Type | Name | Description |
|---|---|---|
| ConstructAction.DefaultAngle | da | convert this |
Returns
| Type | Description |
|---|---|
| Angle |