Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
|
Describes the stroke styling of a path. More...
#include <hdicorePathStyle.h>
Classes | |
class | Map |
Acts as a StrokeStyle value map, indicating which values are "known". More... | |
Public Types | |
enum | CapStyle { ButtCap = 100 , RoundCap = 110 , ProjectingCap = 120 , SquareCap = ProjectingCap } |
Indicates the type of cap for a given stroke style. | |
enum | JoinStyle { MiterJoin = 100 , RoundJoin = 110 , BevelJoin = 120 } |
Indicates the type of join for a given stroke style. | |
typedef std::unique_ptr< Map > | MapUP |
typedef std::shared_ptr< Map > | MapSP |
typedef std::weak_ptr< Map > | MapWP |
Public Member Functions | |
StrokeStyle () | |
StrokeStyle constructor; sets overprint to false, the width to 0.0, the color to none, the cap to ButtCap, the join to MiterJoin, and miterLimit to 0.0. | |
StrokeStyle (const StrokeStyle &style_) | |
Constructs a new StrokeStyle object from an existing one. | |
virtual | ~StrokeStyle () |
Destructs a StrokeStyle object. | |
StrokeStyle & | operator= (const StrokeStyle &rhs_) |
StrokeStyle assignment operator. | |
Public Attributes | |
ArtColor | color |
Stroke color. | |
bool | overprint |
Controls whether stroke overprint is enabled. | |
double | width |
Stroke width, in points. | |
DashStyle | dash |
Stroke dash style. | |
CapStyle | cap |
Stroke cap style. | |
JoinStyle | join |
Stroke join style. | |
double | miterLimit |
Stroke miter limit. | |
Describes the stroke styling of a path.
hdi::core::StrokeStyle::StrokeStyle | ( | ) |
StrokeStyle constructor; sets overprint to false, the width to 0.0, the color to none, the cap to ButtCap, the join to MiterJoin, and miterLimit to 0.0.
hdi::core::StrokeStyle::StrokeStyle | ( | const StrokeStyle & | style_ | ) |
Constructs a new StrokeStyle object from an existing one.
style_ | Existing StrokeStyle object to copy values from |
|
virtual |
Destructs a StrokeStyle object.
StrokeStyle & hdi::core::StrokeStyle::operator= | ( | const StrokeStyle & | rhs_ | ) |
StrokeStyle assignment operator.
rhs_ | Existing StrokeStyle object to copy values from |