65 void setShape (
const Path& newShape,
66 bool resizeNowToFitThisShape,
67 bool maintainShapeProportions,
76 void setColours (
Colour normalColour,
87 void setOnColours (
Colour normalColourOn,
95 void shouldUseOnColours (
bool shouldUse);
102 void setOutline (
Colour outlineColour,
float outlineStrokeWidth);
110 void paintButton (
Graphics&,
bool,
bool)
override;
114 Colour normalColour, overColour, downColour,
115 normalColourOn, overColourOn, downColourOn, outlineColour;
120 bool maintainShapeProportions;
Specifies a set of gaps to be left around the sides of a rectangle.
Represents a colour, also including a transparency value.
An effect filter that adds a drop-shadow behind the image's content.
A graphics context, used for drawing a component or image.
A path is a sequence of lines and curves that may either form a closed shape or be open-ended.