Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
hdi::core::StrokeStyle Class Reference

Describes the stroke styling of a path. More...

#include <hdicorePathStyle.h>

Collaboration diagram for hdi::core::StrokeStyle:
Collaboration graph
[legend]

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< MapMapUP
 
typedef std::shared_ptr< MapMapSP
 
typedef std::weak_ptr< MapMapWP
 

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.
 
StrokeStyleoperator= (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.
 

Detailed Description

Describes the stroke styling of a path.

Constructor & Destructor Documentation

◆ StrokeStyle() [1/2]

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.

Author
GW
Date
08/2013

◆ StrokeStyle() [2/2]

hdi::core::StrokeStyle::StrokeStyle ( const StrokeStyle style_)

Constructs a new StrokeStyle object from an existing one.

Author
GW
Date
12/2013
Parameters
style_Existing StrokeStyle object to copy values from

◆ ~StrokeStyle()

virtual hdi::core::StrokeStyle::~StrokeStyle ( )
virtual

Destructs a StrokeStyle object.

Author
GW
Date
08/2013

Member Function Documentation

◆ operator=()

StrokeStyle & hdi::core::StrokeStyle::operator= ( const StrokeStyle rhs_)

StrokeStyle assignment operator.

Author
GW
Date
12/2013
Parameters
rhs_Existing StrokeStyle object to copy values from
Returns
The target StrokeStyle object, but with its values updated