// // System.Drawing.Drawing2D.CustomLineCap.cs // // Author: // Dennis Hayes (dennish@Raytek.com) // // (C) 2002/3 Ximian, Inc // using System; namespace System.Drawing.Drawing2D { /// /// Summary description for CustomLineCap. /// public class CustomLineCap {// : MarshalByRefObject, ICloneable, IDisposable { private LineCap baseCap; private float baseInsert; private LineJoin strokeJoin; private float widthScale; // Constructors // Constructor with no parameters is not part of spec. It was needed to get to compile. Bug in compiler? protected CustomLineCap() { } public CustomLineCap(GraphicsPath fillPAth, GraphicsPath strokePath, LineCap baseCap, float baseInset) { this.baseInsert = baseInsert; } public CustomLineCap(GraphicsPath fillPAth, GraphicsPath strokePAth, LineCap baseCap) { this.baseCap = baseCap; } public CustomLineCap(GraphicsPath fillPAth, GraphicsPath strokePAth) { } public LineCap BaseCap{ get { return baseCap; } set { baseCap = value; } } public LineJoin StrokeJoin{ get { return strokeJoin; } set { strokeJoin = value; } } public float BaseInsert{ get { return baseInsert; } set { baseInsert = value; } } public float WidthScale{ get { return widthScale; } set { widthScale = value; } } //Public Methods // Implment IConeable.Clone //public virtural object Clone(){ // //CustomLineCap newcustomlinecap = new CustomLineCap( //} public virtual void Dispose(){ Dispose(true); } public virtual void Dispose(bool disposing){ } public void GetStrokeCaps(out LineCap startCap, out LineCap endCap){ startCap = baseCap; endCap = baseCap; } public void SetStrokeCaps(LineCap startCap, LineCap endCap){ } // Protected Methods ~CustomLineCap(){ } } }