Pen()
Contents
[
Hide
]Pen::Pen(const Color&) constructor
Constructs a new Pen object representing the specified color.
System::Drawing::Pen::Pen(const Color &color)
Arguments
Parameter | Type | Description |
---|---|---|
color | const Color& | The color of the pen represented by the object being constructed |
Pen::Pen(const Color&, float) constructor
Constructs a new Pen object representing the specified color and width.
System::Drawing::Pen::Pen(const Color &color, float width)
Arguments
Parameter | Type | Description |
---|---|---|
color | const Color& | The color of the pen represented by the object being constructed |
width | float | The width of the pen represented by the object being constructed |
Pen::Pen(const SharedPtr<Brush>&) constructor
Constructs a new Pen object and initializes it with the specified Brush object.
System::Drawing::Pen::Pen(const SharedPtr<Brush> &brush)
Arguments
Parameter | Type | Description |
---|---|---|
brush | const SharedPtr<Brush>& | The Brush object that specifies the fill properties of the pen represented by the object being constructed |
Pen::Pen(const SharedPtr<Brush>&, float) constructor
Constructs a new Pen object and initializes it with the specified Brush object.
System::Drawing::Pen::Pen(const SharedPtr<Brush> &brush, float width)
Arguments
Parameter | Type | Description |
---|---|---|
brush | const SharedPtr<Brush>& | The Brush object that specifies the fill properties of the pen represented by the object being constructed |
width | float | The width of the pen represented by the object being constructed |
See Also
- Typedef SharedPtr
- Class Color
- Class Pen
- Class Brush
- Namespace System::Drawing
- Library Aspose.Slides