Hot Door CORE 0.8.4
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdi::core::ArtColor::PatternStyle Class Reference

Describes a pattern that has been applied to some art. More...

#include <hdicoreArtColor.h>

Collaboration diagram for hdi::core::ArtColor::PatternStyle:

Public Member Functions

 PatternStyle ()
 Constructs a new PatternStyle object with default values.
 PatternStyle (const PatternStyle &patt_)
 Constructs a new PatternStyle object from an existing PatternStyle.
 PatternStyle (const core::Pattern &pattern_, const double shiftDist_, const core::Angle &shiftAngle_, const double scaleX_, const double scaleY_, const core::Angle &rotation_, const bool reflect_, const core::Angle &reflectAngle_, const core::Angle &shearAngle_, const core::Angle &shearAxis_, const core::TransformMatrix &transform_)
 Constructs a new PatternStyle object with the given values.
virtual ~PatternStyle ()
 Destructs a PatternStyle object.
PatternStyleoperator= (const PatternStyle &rhs_)
 PatternStyle assignment operator.

Public Attributes

core::Patternpattern
 Pattern to which the style applies. The lifetime of the object is only as long as the PatternStyle which contains it (so make sure to use the copy constructor if you need to store the Pattern any longer).
double shiftDistance
 Distance to translate the unscaled prototype before filling, measured from the ruler origin.
core::Angle shiftAngle
 Angle to translate the unscaled prototype before filling.
double scaleX
 Fraction to scale the prototype along the x-axis before filling.
double scaleY
 Fraction to scale the prototype along the y-axis before filling.
core::Angle rotation
 Angle to rotate the prototype before filling.
bool reflect
 When true, the prototype is reflected before filling.
core::Angle reflectAngle
 Axis around which to reflect.
core::Angle shearAngle
 Angle to slant the shear by.
core::Angle shearAxis
 Axis to shear with respect to.
core::TransformMatrix transform
 Additional transformation arising from manipulating the path.

Detailed Description

Describes a pattern that has been applied to some art.

Constructor & Destructor Documentation

◆ PatternStyle() [1/3]

hdi::core::ArtColor::PatternStyle::PatternStyle ( )

Constructs a new PatternStyle object with default values.

Author
GW
Date
12/2013

◆ PatternStyle() [2/3]

hdi::core::ArtColor::PatternStyle::PatternStyle ( const PatternStyle & patt_)

Constructs a new PatternStyle object from an existing PatternStyle.

Author
GW
Date
12/2013
Parameters
patt_Existing PatternStyle object to copy values from

◆ PatternStyle() [3/3]

hdi::core::ArtColor::PatternStyle::PatternStyle ( const core::Pattern & pattern_,
const double shiftDist_,
const core::Angle & shiftAngle_,
const double scaleX_,
const double scaleY_,
const core::Angle & rotation_,
const bool reflect_,
const core::Angle & reflectAngle_,
const core::Angle & shearAngle_,
const core::Angle & shearAxis_,
const core::TransformMatrix & transform_ )

Constructs a new PatternStyle object with the given values.

Author
GW
Date
12/2013
Parameters
pattern_(See pattern member description)
shiftDist_(See shiftDistance member description)
shiftAngle_(See shiftAngle member description)
scaleX_(See scaleX member description)
scaleY_(See scaleY member description)
rotation_(See rotation member description)
reflect_(See reflect member description)
reflectAngle_(See reflectAngle member description)
shearAngle_(See shearAngle member description)
shearAxis_(See shearAxis member description)
transform_(See transform member description)

◆ ~PatternStyle()

virtual hdi::core::ArtColor::PatternStyle::~PatternStyle ( )
virtual

Destructs a PatternStyle object.

Author
GW
Date
12/2013

Member Function Documentation

◆ operator=()

PatternStyle & hdi::core::ArtColor::PatternStyle::operator= ( const PatternStyle & rhs_)

PatternStyle assignment operator.

Author
GW
Date
12/2013
Parameters
rhs_Existing PatternStyle object to copy values from (righthand side of the assignment operator)
Returns
The target PatternStyle object, but with its values updated