25 #ifndef JUCE_DRAWABLESHAPE_H_INCLUDED
26 #define JUCE_DRAWABLESHAPE_H_INCLUDED
61 bool isDynamic()
const;
80 void setFill (
const FillType& newFill);
99 void setStrokeFill (
const FillType& newStrokeFill);
104 void setStrokeFill (
const RelativeFillType& newStrokeFill);
120 void setStrokeThickness (
float newThickness);
140 static const Identifier type, colour, colours, fill, stroke, path, jointStyle, capStyle, strokeWidth,
141 gradientPoint1, gradientPoint2, gradientPoint3, radial, imageId, imageOpacity;
149 bool hitTest (
int x,
int y)
override;
158 void strokeChanged();
182 #endif // JUCE_DRAWABLESHAPE_H_INCLUDED
Definition: juce_DrawableShape.h:50
RelativePoint gradientPoint3
Definition: juce_DrawableShape.h:69
Definition: juce_DrawableShape.h:36
virtual bool replaceColour(Colour originalColour, Colour replacementColour)
Definition: juce_Drawable.cpp:111
#define noexcept
Definition: juce_CompilerSupport.h:141
friend class DrawableShape
Definition: juce_Drawable.h:208
Definition: juce_Expression.h:113
Definition: juce_PathStrokeType.h:39
#define JUCE_API
Definition: juce_StandardHeader.h:139
Definition: juce_RelativePoint.h:35
Definition: juce_Rectangle.h:36
const RelativeFillType & getStrokeFill() const noexcept
Definition: juce_DrawableShape.h:109
Definition: juce_DrawableShape.h:127
Definition: juce_Path.h:62
Definition: juce_Colour.h:35
virtual void paint(Graphics &g)
Definition: juce_Component.cpp:1929
Definition: juce_ScopedPointer.h:70
Definition: juce_FillType.h:38
Definition: juce_RelativeCoordinatePositioner.h:33
bool operator==(const var &v1, const var &v2) noexcept
Definition: juce_Variant.cpp:565
const PathStrokeType & getStrokeType() const noexcept
Definition: juce_DrawableShape.h:123
Definition: juce_ComponentBuilder.h:45
Definition: juce_Drawable.h:35
Definition: juce_GraphicsContext.h:42
FillType fill
Definition: juce_DrawableShape.h:68
Definition: juce_DrawableShape.cpp:45
Definition: juce_Drawable.h:185
const RelativeFillType & getFill() const noexcept
Definition: juce_DrawableShape.h:94
Definition: juce_ValueTree.h:64
Definition: juce_UndoManager.h:49
bool operator!=(const var &v1, const var &v2) noexcept
Definition: juce_Variant.cpp:566
static const Identifier type
Definition: juce_DrawableShape.h:140
virtual Rectangle< float > getDrawableBounds() const =0
Definition: juce_Identifier.h:43
virtual bool hitTest(int x, int y)
Definition: juce_Component.cpp:1365
Definition: juce_ComponentBuilder.h:183