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

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

#include <hdicorePathStyle.h>

Classes

class  Map
 Acts as a DashStyle value map, indicating which values are "known". More...
 

Public Types

typedef std::unique_ptr< MapMapUP
 
typedef std::shared_ptr< MapMapSP
 
typedef std::weak_ptr< MapMapWP
 

Public Member Functions

 DashStyle ()
 DashStyle constructor; sets all the lengths to 0.0, the count to 0, and the offset to 0.0.
 
 DashStyle (const DashStyle &style_)
 Constructs a new DashStyle object from an existing one.
 
virtual ~DashStyle ()
 Destructs a DashStyle object.
 
DashStyleoperator= (const DashStyle &rhs_)
 DashStyle assignment operator.
 

Public Attributes

double lengths [maxDashComponents]
 Lengths of each dash component, in points.
 
int16_t count
 Number of valid values in the lengths array.
 
double offset
 Dash offset.
 

Static Public Attributes

static const int16_t maxDashComponents = 6
 Maximum number of sublengths that can compose a dash style.
 

Detailed Description

Describes the dash styling of a path.

Constructor & Destructor Documentation

◆ DashStyle() [1/2]

hdi::core::DashStyle::DashStyle ( )

DashStyle constructor; sets all the lengths to 0.0, the count to 0, and the offset to 0.0.

Author
GW
Date
08/2013

◆ DashStyle() [2/2]

hdi::core::DashStyle::DashStyle ( const DashStyle style_)

Constructs a new DashStyle object from an existing one.

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

◆ ~DashStyle()

virtual hdi::core::DashStyle::~DashStyle ( )
virtual

Destructs a DashStyle object.

Author
GW
Date
08/2013

Member Function Documentation

◆ operator=()

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

DashStyle assignment operator.

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