Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
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::auto_ptr< MapMapAP
 

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. More...
 
 StrokeStyle (const StrokeStyle &style_)
 Constructs a new StrokeStyle object from an existing one. More...
 
virtual ~StrokeStyle ()
 Destructs a StrokeStyle object. More...
 
StrokeStyleoperator= (const StrokeStyle &rhs_)
 StrokeStyle assignment operator. More...
 

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

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
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
virtual hdi::core::StrokeStyle::~StrokeStyle ( )
virtual

Destructs a StrokeStyle object.

Author
GW
Date
08/2013

Member Function Documentation

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