DrawableShape::RelativeFillType Class Reference

A FillType wrapper that allows the gradient coordinates to be implemented using RelativePoint. More...

Public Member Functions

 RelativeFillType ()
 
 RelativeFillType (const FillType &fill)
 
 RelativeFillType (const RelativeFillType &)
 
RelativeFillTypeoperator= (const RelativeFillType &)
 
bool operator== (const RelativeFillType &) const
 
bool operator!= (const RelativeFillType &) const
 
bool isDynamic () const
 
bool recalculateCoords (Expression::Scope *scope)
 
void writeTo (ValueTree &v, ComponentBuilder::ImageProvider *, UndoManager *) const
 
bool readFrom (const ValueTree &v, ComponentBuilder::ImageProvider *)
 

Public Attributes

FillType fill
 
RelativePoint gradientPoint1
 
RelativePoint gradientPoint2
 
RelativePoint gradientPoint3
 

Detailed Description

A FillType wrapper that allows the gradient coordinates to be implemented using RelativePoint.

Constructor & Destructor Documentation

◆ RelativeFillType() [1/3]

DrawableShape::RelativeFillType::RelativeFillType ( )

◆ RelativeFillType() [2/3]

DrawableShape::RelativeFillType::RelativeFillType ( const FillType fill)

◆ RelativeFillType() [3/3]

DrawableShape::RelativeFillType::RelativeFillType ( const RelativeFillType )

Member Function Documentation

◆ operator=()

RelativeFillType& DrawableShape::RelativeFillType::operator= ( const RelativeFillType )

◆ operator==()

bool DrawableShape::RelativeFillType::operator== ( const RelativeFillType ) const

◆ operator!=()

bool DrawableShape::RelativeFillType::operator!= ( const RelativeFillType ) const

◆ isDynamic()

bool DrawableShape::RelativeFillType::isDynamic ( ) const

◆ recalculateCoords()

bool DrawableShape::RelativeFillType::recalculateCoords ( Expression::Scope scope)

◆ writeTo()

void DrawableShape::RelativeFillType::writeTo ( ValueTree v,
ComponentBuilder::ImageProvider ,
UndoManager  
) const

◆ readFrom()

bool DrawableShape::RelativeFillType::readFrom ( const ValueTree v,
ComponentBuilder::ImageProvider  
)

Member Data Documentation

◆ fill

FillType DrawableShape::RelativeFillType::fill

◆ gradientPoint1

RelativePoint DrawableShape::RelativeFillType::gradientPoint1

◆ gradientPoint2

RelativePoint DrawableShape::RelativeFillType::gradientPoint2

◆ gradientPoint3

RelativePoint DrawableShape::RelativeFillType::gradientPoint3

The documentation for this class was generated from the following file: