Class ShapeItem
  
  An abstract base class that provides basic functionality for any descended ShapeItem class.
    Inheritance
    System.Object
    
    ShapeItem
   
      
      
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
   
  
  Assembly: cs.temp.dll.dll
  Syntax
  
    public abstract class ShapeItem : Item, IXmlTemplate, INotifyPropertyChanged
   
  Fields
  
  
  
  _height
  
  
  Declaration
  
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
  
  _strokeColor
  
  
  Declaration
  
    protected Color _strokeColor
   
  Field Value
  
  
  
  _strokeColorHex
  
  
  Declaration
  
    protected string _strokeColorHex
   
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
  
  _strokeStyle
  
  
  Declaration
  
    protected StrokeStyle _strokeStyle
   
  Field Value
  
  
  
  _strokeStylePattern
  
  
  Declaration
  
    protected string _strokeStylePattern
   
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
  
  _strokeThickness
  
  
  Declaration
  
    protected double _strokeThickness
   
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
  
  _width
  
  
  Declaration
  
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
  
  HexColorPattern
  
  
  Declaration
  
    protected string HexColorPattern
   
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  Properties
  
  
  
  
  Height
  Gets or sets the height of the shape item. Default value is 1
Declaration
  
    public double Height { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
  
  
  StrokeColor
  Gets or sets the border color. Default value is Black
Declaration
  
    public Color StrokeColor { get; set; }
   
  Property Value
  
  
  
  
  StrokeColorHex
  Gets or sets the border color in hex notation.
Declaration
  
    public string StrokeColorHex { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
  
  
  
  
  StrokeStyle
  Gets or sets the stroke style. Default is Solid
Declaration
  
    public StrokeStyle StrokeStyle { get; set; }
   
  Property Value
  
  
  
  
  StrokeStylePattern
  Gets or sets the stroke style pattern. The patter specifies the dash length, and the gap length separated by a pipe e.g. 0.2|0.1. More than one pair of pattern is supported e.g. 0.1|0.2|0.1|0.5. If empty, both patterns will be the value from StrokeThickness property. Default is empty
Declaration
  
    public string StrokeStylePattern { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
  
  
  StrokeThickness
  Gets or sets the border thickness. Default value is 0.01
Declaration
  
    public double StrokeThickness { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  Exceptions
  
    
      
        | Type | Condition | 
    
    
      
        | System.ArgumentException | The specified value is less than 0. | 
    
  
  
  
  
  Width
  Gets or sets the width of the shape item. Default value is 1
Declaration
  
    public double Width { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  Methods
  
  
  
  
  ConvertToUnit(UnitType, Int32)
  
  
  Declaration
  
    public override void ConvertToUnit(UnitType unit, int numOfFractionalDigits = -1)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | UnitType | unit |  | 
      
        | System.Int32 | numOfFractionalDigits |  | 
    
  
  Overrides
  
  
  
  
  GetStrokeStylePattern()
  
  
  Declaration
  
    public float[] GetStrokeStylePattern()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Single[] |  |