PurplePen.EventDB.AddSpecial C# (CSharp) Method

AddSpecial() public method

public AddSpecial ( Special special ) : Id
special Special
return Id
        public Id<Special> AddSpecial(Special special)
        {
            return specialStore.Add(special);
        }

Usage Example

Example #1
0
 public static Id<Special> AddRectangleSpecial(EventDB eventDB, RectangleF rect, SpecialColor color, LineKind lineKind, float lineWidth, float gapSize, float dashSize, float cornerRadius)
 {
     Special special = new Special(SpecialKind.Rectangle, new PointF[] { rect.Location, new PointF(rect.Right, rect.Bottom)});
     special.color = color;
     special.lineKind = lineKind;
     special.lineWidth = lineWidth;
     special.gapSize = gapSize;
     special.dashSize = dashSize;
     special.cornerRadius = cornerRadius;
     return eventDB.AddSpecial(special);
 }
All Usage Examples Of PurplePen.EventDB::AddSpecial