JUCE  v5.1.1-3-g1a0b28c73
JUCE API
DrawableShape::RelativeFillType Class Reference

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

#include <juce_DrawableShape.h>

Collaboration diagram for DrawableShape::RelativeFillType:

Public Member Functions

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

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

◆ isDynamic()

bool DrawableShape::RelativeFillType::isDynamic ( ) const

◆ operator!=()

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

◆ operator=()

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

◆ operator==()

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

◆ readFrom()

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

◆ recalculateCoords()

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

◆ writeTo()

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

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: