Defines a stroke for a shape.
Use the Stroke property to access stroke properties of a shape. You do not create instances of the Stroke class directly.
Shows how change stroke properties.
#include <Aspose.Words.Cpp/Drawing/Stroke.h>
Public Member Functions | |
Color | get_BackColor () |
Gets the background color of the stroke. More... | |
Color | get_Color () |
Defines the color of a stroke. More... | |
Color | get_Color2 () |
Defines a second color for a stroke. More... | |
DashStyle | get_DashStyle () |
Specifies the dot and dash pattern for a stroke. More... | |
ArrowLength | get_EndArrowLength () |
Defines the arrowhead length for the end of a stroke. More... | |
ArrowType | get_EndArrowType () |
Defines the arrowhead for the end of a stroke. More... | |
ArrowWidth | get_EndArrowWidth () |
Defines the arrowhead width for the end of a stroke. More... | |
EndCap | get_EndCap () |
Defines the cap style for the end of a stroke. More... | |
Color | get_ForeColor () |
Gets the foreground color of the stroke. More... | |
ArrayPtr< uint8_t > | get_ImageBytes () |
Defines the image for a stroke image or pattern fill. More... | |
JoinStyle | get_JoinStyle () |
Defines the join style of a polyline. More... | |
ShapeLineStyle | get_LineStyle () |
Defines the line style of the stroke. More... | |
bool | get_On () |
Defines whether the path will be stroked. More... | |
double | get_Opacity () |
Defines the amount of transparency of a stroke. Valid range is from 0 to 1. More... | |
ArrowLength | get_StartArrowLength () |
Defines the arrowhead length for the start of a stroke. More... | |
ArrowType | get_StartArrowType () |
Defines the arrowhead for the start of a stroke. More... | |
ArrowWidth | get_StartArrowWidth () |
Defines the arrowhead width for the start of a stroke. More... | |
double | get_Transparency () |
Gets a value between 0.0 (opaque) and 1.0 (clear) representing the degree of transparency of the stroke. More... | |
bool | get_Visible () |
Gets a flag indicating whether the stroke is visible. More... | |
double | get_Weight () |
Defines the brush thickness that strokes the path of a shape in points. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | set_BackColor (Color value) |
Sets the background color of the stroke. More... | |
void | set_Color (Color value) |
Setter for get_Color. More... | |
void | set_Color2 (Color value) |
Setter for get_Color2. More... | |
void | set_DashStyle (DashStyle value) |
Setter for get_DashStyle. More... | |
void | set_EndArrowLength (ArrowLength value) |
Setter for get_EndArrowLength. More... | |
void | set_EndArrowType (ArrowType value) |
Setter for get_EndArrowType. More... | |
void | set_EndArrowWidth (ArrowWidth value) |
Setter for get_EndArrowWidth. More... | |
void | set_EndCap (EndCap value) |
Setter for get_EndCap. More... | |
void | set_ForeColor (Color value) |
Sets the foreground color of the stroke. More... | |
void | set_JoinStyle (JoinStyle value) |
Setter for get_JoinStyle. More... | |
void | set_LineStyle (ShapeLineStyle value) |
Setter for get_LineStyle. More... | |
void | set_On (bool value) |
Setter for get_On. More... | |
void | set_Opacity (double value) |
Setter for get_Opacity. More... | |
void | set_StartArrowLength (ArrowLength value) |
Setter for get_StartArrowLength. More... | |
void | set_StartArrowType (ArrowType value) |
Setter for get_StartArrowType. More... | |
void | set_StartArrowWidth (ArrowWidth value) |
Setter for get_StartArrowWidth. More... | |
void | set_Transparency (double value) |
Sets a value between 0.0 (opaque) and 1.0 (clear) representing the degree of transparency of the stroke. More... | |
void | set_Visible (bool value) |
Sets a flag indicating whether the stroke is visible. More... | |
void | set_Weight (double value) |
Setter for get_Weight. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
System::Drawing::Color Aspose::Words::Drawing::Stroke::get_BackColor | ( | ) |
Gets the background color of the stroke.
System::Drawing::Color Aspose::Words::Drawing::Stroke::get_Color | ( | ) |
Defines the color of a stroke.
The default value for a Shape is Black.
Shows to create a variety of shapes.
System::Drawing::Color Aspose::Words::Drawing::Stroke::get_Color2 | ( | ) |
Defines a second color for a stroke.
The default value for a Shape is White.
Shows how to process shape stroke features.
Aspose::Words::Drawing::DashStyle Aspose::Words::Drawing::Stroke::get_DashStyle | ( | ) |
Specifies the dot and dash pattern for a stroke.
The default value is Solid.
Shows to create a variety of shapes.
Aspose::Words::Drawing::ArrowLength Aspose::Words::Drawing::Stroke::get_EndArrowLength | ( | ) |
Defines the arrowhead length for the end of a stroke.
The default value is Medium.
Shows to create a variety of shapes.
Aspose::Words::Drawing::ArrowType Aspose::Words::Drawing::Stroke::get_EndArrowType | ( | ) |
Defines the arrowhead for the end of a stroke.
The default value is None.
Shows to create a variety of shapes.
Aspose::Words::Drawing::ArrowWidth Aspose::Words::Drawing::Stroke::get_EndArrowWidth | ( | ) |
Defines the arrowhead width for the end of a stroke.
The default value is Medium.
Shows to create a variety of shapes.
Aspose::Words::Drawing::EndCap Aspose::Words::Drawing::Stroke::get_EndCap | ( | ) |
Defines the cap style for the end of a stroke.
The default value is Flat.
Shows to create a variety of shapes.
System::Drawing::Color Aspose::Words::Drawing::Stroke::get_ForeColor | ( | ) |
Gets the foreground color of the stroke.
System::ArrayPtr<uint8_t> Aspose::Words::Drawing::Stroke::get_ImageBytes | ( | ) |
Defines the image for a stroke image or pattern fill.
Shows how to process shape stroke features.
Aspose::Words::Drawing::JoinStyle Aspose::Words::Drawing::Stroke::get_JoinStyle | ( | ) |
Defines the join style of a polyline.
The default value is Round.
Shows how change stroke properties.
Aspose::Words::Drawing::ShapeLineStyle Aspose::Words::Drawing::Stroke::get_LineStyle | ( | ) |
Defines the line style of the stroke.
The default value is Single.
Shows how change stroke properties.
bool Aspose::Words::Drawing::Stroke::get_On | ( | ) |
Defines whether the path will be stroked.
The default value for a Shape is true.
Shows how change stroke properties.
double Aspose::Words::Drawing::Stroke::get_Opacity | ( | ) |
Defines the amount of transparency of a stroke. Valid range is from 0 to 1.
The default value is 1.
Shows to create a variety of shapes.
Aspose::Words::Drawing::ArrowLength Aspose::Words::Drawing::Stroke::get_StartArrowLength | ( | ) |
Defines the arrowhead length for the start of a stroke.
The default value is Medium.
Shows to create a variety of shapes.
Aspose::Words::Drawing::ArrowType Aspose::Words::Drawing::Stroke::get_StartArrowType | ( | ) |
Defines the arrowhead for the start of a stroke.
The default value is None.
Shows to create a variety of shapes.
Aspose::Words::Drawing::ArrowWidth Aspose::Words::Drawing::Stroke::get_StartArrowWidth | ( | ) |
Defines the arrowhead width for the start of a stroke.
The default value is Medium.
Shows to create a variety of shapes.
double Aspose::Words::Drawing::Stroke::get_Transparency | ( | ) |
Gets a value between 0.0 (opaque) and 1.0 (clear) representing the degree of transparency of the stroke.
bool Aspose::Words::Drawing::Stroke::get_Visible | ( | ) |
Gets a flag indicating whether the stroke is visible.
double Aspose::Words::Drawing::Stroke::get_Weight | ( | ) |
Defines the brush thickness that strokes the path of a shape in points.
The default value for a Shape is 0.75.
Shows how change stroke properties.
|
overridevirtual |
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
void Aspose::Words::Drawing::Stroke::set_BackColor | ( | System::Drawing::Color | value | ) |
Sets the background color of the stroke.
void Aspose::Words::Drawing::Stroke::set_Color | ( | System::Drawing::Color | value | ) |
Setter for Aspose::Words::Drawing::Stroke::get_Color.
void Aspose::Words::Drawing::Stroke::set_Color2 | ( | System::Drawing::Color | value | ) |
Setter for Aspose::Words::Drawing::Stroke::get_Color2.
void Aspose::Words::Drawing::Stroke::set_DashStyle | ( | Aspose::Words::Drawing::DashStyle | value | ) |
Setter for Aspose::Words::Drawing::Stroke::get_DashStyle.
void Aspose::Words::Drawing::Stroke::set_EndArrowLength | ( | Aspose::Words::Drawing::ArrowLength | value | ) |
void Aspose::Words::Drawing::Stroke::set_EndArrowType | ( | Aspose::Words::Drawing::ArrowType | value | ) |
Setter for Aspose::Words::Drawing::Stroke::get_EndArrowType.
void Aspose::Words::Drawing::Stroke::set_EndArrowWidth | ( | Aspose::Words::Drawing::ArrowWidth | value | ) |
void Aspose::Words::Drawing::Stroke::set_EndCap | ( | Aspose::Words::Drawing::EndCap | value | ) |
Setter for Aspose::Words::Drawing::Stroke::get_EndCap.
void Aspose::Words::Drawing::Stroke::set_ForeColor | ( | System::Drawing::Color | value | ) |
Sets the foreground color of the stroke.
void Aspose::Words::Drawing::Stroke::set_JoinStyle | ( | Aspose::Words::Drawing::JoinStyle | value | ) |
Setter for Aspose::Words::Drawing::Stroke::get_JoinStyle.
void Aspose::Words::Drawing::Stroke::set_LineStyle | ( | Aspose::Words::Drawing::ShapeLineStyle | value | ) |
Setter for Aspose::Words::Drawing::Stroke::get_LineStyle.
void Aspose::Words::Drawing::Stroke::set_On | ( | bool | value | ) |
Setter for Aspose::Words::Drawing::Stroke::get_On.
void Aspose::Words::Drawing::Stroke::set_Opacity | ( | double | value | ) |
Setter for Aspose::Words::Drawing::Stroke::get_Opacity.
void Aspose::Words::Drawing::Stroke::set_StartArrowLength | ( | Aspose::Words::Drawing::ArrowLength | value | ) |
void Aspose::Words::Drawing::Stroke::set_StartArrowType | ( | Aspose::Words::Drawing::ArrowType | value | ) |
void Aspose::Words::Drawing::Stroke::set_StartArrowWidth | ( | Aspose::Words::Drawing::ArrowWidth | value | ) |
void Aspose::Words::Drawing::Stroke::set_Transparency | ( | double | value | ) |
Sets a value between 0.0 (opaque) and 1.0 (clear) representing the degree of transparency of the stroke.
void Aspose::Words::Drawing::Stroke::set_Visible | ( | bool | value | ) |
Sets a flag indicating whether the stroke is visible.
void Aspose::Words::Drawing::Stroke::set_Weight | ( | double | value | ) |
Setter for Aspose::Words::Drawing::Stroke::get_Weight.
|
static |