August 2003
Intermediate to advanced
736 pages
14h 48m
English
Whereas the Brush classes are used to fill shapes, the Pen class is used to frame shapes. The interesting members are shown here:
sealed class Pen : MarshalByRefObject, ICloneable, IDisposable { // Constructors public Pen(Brush brush); public Pen(Brush brush, float width); public Pen(Color color); public Pen(Color color, float width); // Properties public PenAlignment Alignment { get; set; } public Brush Brush { get; set; } public Color Color { get; set; } public float[] CompoundArray { get; set; } public CustomLineCap CustomEndCap { get; set; } public CustomLineCap CustomStartCap { get; set; } public DashCap DashCap { get; set; } public float DashOffset { get; set; } public float[] DashPattern { get; set; } public DashStyle DashStyle { ...Read now
Unlock full access