DrawableShape::FillAndStrokeState Class Reference
Inheritance diagram for DrawableShape::FillAndStrokeState:

Public Member Functions

 FillAndStrokeState (const ValueTree &state)
 
ValueTree getFillState (const Identifier &fillOrStrokeType)
 
RelativeFillType getFill (const Identifier &fillOrStrokeType, ComponentBuilder::ImageProvider *) const
 
void setFill (const Identifier &fillOrStrokeType, const RelativeFillType &newFill, ComponentBuilder::ImageProvider *, UndoManager *)
 
PathStrokeType getStrokeType () const
 
void setStrokeType (const PathStrokeType &newStrokeType, UndoManager *)
 
- Public Member Functions inherited from Drawable::ValueTreeWrapperBase
 ValueTreeWrapperBase (const ValueTree &state)
 
ValueTreegetState () noexcept
 
String getID () const
 
void setID (const String &newID)
 

Static Public Attributes

static const Identifier type
 
static const Identifier colour
 
static const Identifier colours
 
static const Identifier fill
 
static const Identifier stroke
 
static const Identifier path
 
static const Identifier jointStyle
 
static const Identifier capStyle
 
static const Identifier strokeWidth
 
static const Identifier gradientPoint1
 
static const Identifier gradientPoint2
 
static const Identifier gradientPoint3
 
static const Identifier radial
 
static const Identifier imageId
 
static const Identifier imageOpacity
 

Additional Inherited Members

- Public Attributes inherited from Drawable::ValueTreeWrapperBase
ValueTree state
 

Detailed Description

Constructor & Destructor Documentation

◆ FillAndStrokeState()

DrawableShape::FillAndStrokeState::FillAndStrokeState ( const ValueTree state)

Member Function Documentation

◆ getFillState()

ValueTree DrawableShape::FillAndStrokeState::getFillState ( const Identifier fillOrStrokeType)

◆ getFill()

RelativeFillType DrawableShape::FillAndStrokeState::getFill ( const Identifier fillOrStrokeType,
ComponentBuilder::ImageProvider  
) const

◆ setFill()

void DrawableShape::FillAndStrokeState::setFill ( const Identifier fillOrStrokeType,
const RelativeFillType newFill,
ComponentBuilder::ImageProvider ,
UndoManager  
)

◆ getStrokeType()

PathStrokeType DrawableShape::FillAndStrokeState::getStrokeType ( ) const

◆ setStrokeType()

void DrawableShape::FillAndStrokeState::setStrokeType ( const PathStrokeType newStrokeType,
UndoManager  
)

Member Data Documentation

◆ type

const Identifier DrawableShape::FillAndStrokeState::type
static

◆ colour

const Identifier DrawableShape::FillAndStrokeState::colour
static

◆ colours

const Identifier DrawableShape::FillAndStrokeState::colours
static

◆ fill

const Identifier DrawableShape::FillAndStrokeState::fill
static

◆ stroke

const Identifier DrawableShape::FillAndStrokeState::stroke
static

◆ path

const Identifier DrawableShape::FillAndStrokeState::path
static

◆ jointStyle

const Identifier DrawableShape::FillAndStrokeState::jointStyle
static

◆ capStyle

const Identifier DrawableShape::FillAndStrokeState::capStyle
static

◆ strokeWidth

const Identifier DrawableShape::FillAndStrokeState::strokeWidth
static

◆ gradientPoint1

const Identifier DrawableShape::FillAndStrokeState::gradientPoint1
static

◆ gradientPoint2

const Identifier DrawableShape::FillAndStrokeState::gradientPoint2
static

◆ gradientPoint3

const Identifier DrawableShape::FillAndStrokeState::gradientPoint3
static

◆ radial

const Identifier DrawableShape::FillAndStrokeState::radial
static

◆ imageId

const Identifier DrawableShape::FillAndStrokeState::imageId
static

◆ imageOpacity

const Identifier DrawableShape::FillAndStrokeState::imageOpacity
static

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