class EffectLineWidth : public Effect

Effect describing the width of the associated line based part data, in pixels.

May be overridden by the following effects if found further up the stack:

  • Any other EffectLineWidth

Supported by the following part data:

See also

Part, Effect, and PartSettings

Public Functions


Constructs an empty effect.

EffectLineWidth(unsigned int width)

Constructs an effect.

virtual Type type() const

Returns Effect::LINE_WIDTH.

virtual PtrRef<Effect> clone()

Clones the effect.

unsigned int width() const

Returns the width of the line(s), in pixels.

void setWidth(unsigned int width)

Specifies the width of the line(s), in pixels.