|
enum | Type { UnknownType = 0
, SimpleType = 10
, ActiveType = 20
} |
| Indicates the type of an art style.
|
|
enum | Attributes {
NoAttributes = 0
, HasFillAttribute = 1 << 0
, HasStrokeAttribute = 1 << 1
, PatternsAttribute = 1 << 2
,
CustomColorsAttribute = 1 << 3
, FillGradientsAttribute = 1 << 4
, FillRadialGradientsAttribute = 1 << 5
, StrokeGradientsAttribute = 1 << 6
,
StrokeRadialGradientsAttribute = 1 << 7
, TransparencyAttribute = 1 << 8
, BrushesAttribute = 1 << 9
, EffectsAttribute = 1 << 10
,
ScalableEffectsAttribute = 1 << 11
} |
| Indicates the various attributes of an art style.
|
|
typedef std::unique_ptr< PaintData > | PaintDataUP |
|
typedef std::shared_ptr< PaintData > | PaintDataSP |
|
typedef std::weak_ptr< PaintData > | PaintDataWP |
|
typedef std::unique_ptr< BlendField > | BlendFieldUP |
|
typedef std::shared_ptr< BlendField > | BlendFieldSP |
|
typedef std::weak_ptr< BlendField > | BlendFieldWP |
|
typedef std::unique_ptr< Effect > | EffectUP |
|
typedef std::shared_ptr< Effect > | EffectSP |
|
typedef std::weak_ptr< Effect > | EffectWP |
|
typedef std::unique_ptr< PaintField > | PaintFieldUP |
|
typedef std::shared_ptr< PaintField > | PaintFieldSP |
|
typedef std::weak_ptr< PaintField > | PaintFieldWP |
|
|
| ArtStyle () |
| Constructs an empty ArtStyle object.
|
|
| ArtStyle (const ArtStyle &a_) |
| ArtStyle copy constructor.
|
|
| ArtStyle (const AIArtStyleHandle aiArtStyle_) |
| Constructs a new ArtStyle object from an AIArtStyleHandle.
|
|
virtual | ~ArtStyle () |
| Destructs an ArtStyle object.
|
|
virtual ArtStyle & | operator= (const ArtStyle &rhs_) |
| Overloaded ArtStyle assignment operator.
|
|
virtual bool | operator== (const ArtStyle &rhs_) const |
| Tests whether a given ArtStyle object is the same as another.
|
|
virtual bool | operator!= (const ArtStyle &rhs_) const |
| Tests whether a given ArtStyle object is not the same as another.
|
|
virtual AIArtStyleHandle | aiArtStyleHandle () const |
| Gets the art style handle around which the target object is wrapped.
|
|
virtual bool | valid () |
| Tests the validity of the target style by searching for it in the document.
|
|
virtual std::string | name () const |
| Gets the name of the art style.
|
|
virtual void | setName (const std::string &name_) |
| Sets the name of the art style.
|
|
virtual bool | isAnonymous () const |
| Gets whether an art style is anonymous (named art styles appear in the styles panel)
|
|
virtual Type | styleType () const |
| Gets the type of the art style.
|
|
virtual Attributes | attributes () const |
| Gets the attributes of the art style.
|
|
virtual bool | visible () const |
| Gets whether the style is visible.
|
|
virtual bool | hasFillOrStroke () const |
| Gets whether the style has any fill or stroke.
|
|
virtual bool | hasEffects () const |
| Gets whether the style has any live effects.
|
|
virtual bool | hasTransparency () const |
| Gets whether the style has any transparency.
|
|
virtual int32_t | paintFieldCount () const |
| Gets the number of paint fields in the target style.
|
|
virtual std::unique_ptr< PaintField > | paintFieldAtIndex (const int32_t index_) const |
| Gets a paint field from the target style by position index.
|
|
virtual std::unique_ptr< PaintField > | focusFill () const |
| Gets the focus fill from the target style.
|
|
virtual std::unique_ptr< PaintField > | focusStroke () const |
| Gets the focus stroke from the target style.
|
|
virtual int32_t | preEffectCount () const |
| Gets the number of pre-effects in the target style.
|
|
virtual std::unique_ptr< Effect > | preEffectAtIndex (const int32_t index_) const |
| Gets a pre-effect from the target style by position index.
|
|
virtual int32_t | postEffectCount () const |
| Gets the number of post-effects in the target style.
|
|
virtual std::unique_ptr< Effect > | postEffectAtIndex (const int32_t index_) const |
| Gets a post-effect from the target style by position index.
|
|
virtual std::unique_ptr< BlendField > | blendField () const |
| Gets the overall art style transparency in the form of a blend field.
|
|