Pen Class

Definition

Line 565 of System.Windows/Graphics.cm

Constructors & Destructor

public nothrow Pen(Pen&& that)
public Pen(const Color& color)
public Pen(const Color& color, float width)
public Pen(const Pen& that)
public ~Pen()

Member Functions

public nothrow Alignment GetAlignment() const
public nothrow Brush GetBrush() const
public nothrow GraphicsStatus GetColor(Color& color) const
public Color GetColorChecked() const
public DashCap GetDashCap() const
public nothrow float GetDashOffset() const
public nothrow DashStyle GetDashStyle() const
public LineCap GetEndCap() const
public LineJoin GetLineJoin() const
public LineCap GetStartCap() const
public inline nothrow void* NativePen() const
public nothrow GraphicsStatus SetAlignment(Alignment alignment)
public void SetAlignmentChecked(Alignment alignment)
public nothrow GraphicsStatus SetBrush(const Brush& brush)
public void SetBrushChecked(const Brush& brush)
public nothrow GraphicsStatus SetColor(const Color& color)
public nothrow GraphicsStatus SetDashCap(DashCap dashCap)
public void SetDashCapChecked(DashCap dashCap)
public nothrow GraphicsStatus SetDashOffset(float dashOffset)
public void SetDashOffsetChecked(float dashOffset)
public nothrow GraphicsStatus SetDashStyle(DashStyle dashStyle)
public void SetDashStyleChecked(DashStyle dashStyle)
public nothrow GraphicsStatus SetEndCap(LineCap endCap)
public void SetEndCapChecked(LineCap endCap)
public nothrow GraphicsStatus SetLineJoin(LineJoin lineJoin)
public void SetLineJoinChecked(LineJoin lineJoin)
public nothrow GraphicsStatus SetStartCap(LineCap startCap)
public void SetStartCapChecked(LineCap startCap)
public void operator=(const Pen& that)

Enumerated Types

public enum Alignment

Member Variables

private void* nativePen

Constructor& Destructor Details

Pen Constructor

public nothrow Pen(Pen&& that)

Definition
Line 582 of System.Windows/Graphics.cm


Pen Constructor

public Pen(const Color& color)

Definition
Line 575 of System.Windows/Graphics.cm


Pen Constructor

public Pen(const Color& color, float width)

Definition
Line 571 of System.Windows/Graphics.cm


Pen Constructor

public Pen(const Pen& that)

Definition
Line 578 of System.Windows/Graphics.cm


~Pen Destructor

public ~Pen()

Definition
Line 599 of System.Windows/Graphics.cm


Member Function Details

GetAlignment Member Function

public nothrow Alignment GetAlignment()

Definition
Line 606 of System.Windows/Graphics.cm


GetBrush Member Function

public nothrow Brush GetBrush()

Definition
Line 618 of System.Windows/Graphics.cm


GetColor Member Function

public nothrow GraphicsStatus GetColor(Color& color)

Definition
Line 632 of System.Windows/Graphics.cm


GetColorChecked Member Function

public Color GetColorChecked()

Definition
Line 636 of System.Windows/Graphics.cm


GetDashCap Member Function

public DashCap GetDashCap()

Definition
Line 670 of System.Windows/Graphics.cm


GetDashOffset Member Function

public nothrow float GetDashOffset()

Definition
Line 682 of System.Windows/Graphics.cm


GetDashStyle Member Function

public nothrow DashStyle GetDashStyle()

Definition
Line 694 of System.Windows/Graphics.cm


GetEndCap Member Function

public LineCap GetEndCap()

Definition
Line 658 of System.Windows/Graphics.cm


GetLineJoin Member Function

public LineJoin GetLineJoin()

Definition
Line 706 of System.Windows/Graphics.cm


GetStartCap Member Function

public LineCap GetStartCap()

Definition
Line 646 of System.Windows/Graphics.cm


NativePen Member Function

public inline nothrow void* NativePen()

Definition
Line 718 of System.Windows/Graphics.cm


SetAlignment Member Function

public nothrow GraphicsStatus SetAlignment(Alignment alignment)

Definition
Line 610 of System.Windows/Graphics.cm


SetAlignmentChecked Member Function

public void SetAlignmentChecked(Alignment alignment)

Definition
Line 614 of System.Windows/Graphics.cm


SetBrush Member Function

public nothrow GraphicsStatus SetBrush(const Brush& brush)

Definition
Line 624 of System.Windows/Graphics.cm


SetBrushChecked Member Function

public void SetBrushChecked(const Brush& brush)

Definition
Line 628 of System.Windows/Graphics.cm


SetColor Member Function

public nothrow GraphicsStatus SetColor(const Color& color)

Definition
Line 642 of System.Windows/Graphics.cm


SetDashCap Member Function

public nothrow GraphicsStatus SetDashCap(DashCap dashCap)

Definition
Line 674 of System.Windows/Graphics.cm


SetDashCapChecked Member Function

public void SetDashCapChecked(DashCap dashCap)

Definition
Line 678 of System.Windows/Graphics.cm


SetDashOffset Member Function

public nothrow GraphicsStatus SetDashOffset(float dashOffset)

Definition
Line 686 of System.Windows/Graphics.cm


SetDashOffsetChecked Member Function

public void SetDashOffsetChecked(float dashOffset)

Definition
Line 690 of System.Windows/Graphics.cm


SetDashStyle Member Function

public nothrow GraphicsStatus SetDashStyle(DashStyle dashStyle)

Definition
Line 698 of System.Windows/Graphics.cm


SetDashStyleChecked Member Function

public void SetDashStyleChecked(DashStyle dashStyle)

Definition
Line 702 of System.Windows/Graphics.cm


SetEndCap Member Function

public nothrow GraphicsStatus SetEndCap(LineCap endCap)

Definition
Line 662 of System.Windows/Graphics.cm


SetEndCapChecked Member Function

public void SetEndCapChecked(LineCap endCap)

Definition
Line 666 of System.Windows/Graphics.cm


SetLineJoin Member Function

public nothrow GraphicsStatus SetLineJoin(LineJoin lineJoin)

Definition
Line 710 of System.Windows/Graphics.cm


SetLineJoinChecked Member Function

public void SetLineJoinChecked(LineJoin lineJoin)

Definition
Line 714 of System.Windows/Graphics.cm


SetStartCap Member Function

public nothrow GraphicsStatus SetStartCap(LineCap startCap)

Definition
Line 650 of System.Windows/Graphics.cm


SetStartCapChecked Member Function

public void SetStartCapChecked(LineCap startCap)

Definition
Line 654 of System.Windows/Graphics.cm


operator= Member Function

public void operator=(const Pen& that)

Definition
Line 586 of System.Windows/Graphics.cm