LineCap

LineCap serializable

System.Drawing.Drawing2D (system.drawing.dll) enum

This enumeration lists the various kinds of linecap that be applied to the line drawn by a System.Drawing.Pen .

They come into two categories: the caps , which provide endcaps the same width as the line, and the anchors , which provide marker shapes at the end of the line. If you wish to use a CustomLineCap , you need to specify the Custom value here.

 public enum  LineCap  {  Flat = 0  ,  Square = 1  ,  Round = 2  ,  Triangle = 3  ,  NoAnchor = 16  ,  SquareAnchor = 17  ,  RoundAnchor = 18  ,  DiamondAnchor = 19  ,  ArrowAnchor = 20  ,  AnchorMask = 240  ,  Custom = 255  } 

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable , System.IConvertible) LineCap

Returned By

CustomLineCap.BaseCap , System.Drawing.Pen.{EndCap , StartCap}

Passed To

CustomLineCap.{BaseCap , CustomLineCap() , GetStrokeCaps() , SetStrokeCaps()} , System.Drawing.Pen.{EndCap , SetLineCap() , StartCap}



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net