a2dShadowStyleProperty Class Reference
[a2dPropObject holds property objectsobjects used for styling a2dCanvasObject's]

Creates a shadow behind a a2dCanvasObject when added as property. More...

#include <canprop.h>

Inheritance diagram for a2dShadowStyleProperty:

Inheritance graph
[legend]
Collaboration diagram for a2dShadowStyleProperty:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dShadowStyleProperty (const a2dPropertyIdCanvasShadowStyle *id, double depth, double angle=30)
 a2dShadowStyleProperty (const a2dShadowStyleProperty &other)
a2dNamedPropertyClone (a2dObject::CloneOptions options) const
 Virtual copy constructor.
double GetExtrudeDepth () const
double GetExtrudeAngle () const
void SetExtrudeDepth (double depth)
void SetExtrudeAngle (double angle3d)

Protected Member Functions

virtual void DoSave (wxObject *parent, a2dIOHandlerXmlSerOut &out, a2dXmlSer_flag xmlparts, a2dObjectList *towrite)
 Save settings.
virtual void DoLoad (wxObject *parent, a2dIOHandlerXmlSerIn &parser, a2dXmlSer_flag xmlparts)
 Load settings.

Protected Attributes

double m_depth
double m_angle3d


Detailed Description

Creates a shadow behind a a2dCanvasObject when added as property.

When this property is added to a a2dCanvasObject, that object is rendered twice. The first time as a shadow behind the real shape. Angle and Depth can be set for the Shadow. The Shadow its style (colour etc.) is the style of the baseclass a2dStyleProperty.

Definition at line 151 of file canprop.h.


The documentation for this class was generated from the following files:
a2dShadowStyleProperty Class Reference -- Tue Aug 31 18:34:03 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation