5 #include <iink/String.h>
6 #include <iink/graphics/Color.h>
7 #include <iink/graphics/ICanvas.h>
8 #include <iink/graphics/LineCap.h>
9 #include <iink/graphics/LineJoin.h>
10 #include <iink/graphics/FillRule.h>
11 #include <iink/graphics/StyleFlag.h>
47 std::underlying_type<StyleFlag>::type
changeFlags = StyleFlag::StyleFlag_NONE;
362 IINK_API
bool operator==(const
Style& other) const noexcept;
371 IINK_API
bool operator!=(const
Style& other) const noexcept;
void setStrokeColor(Color strokeColor) noexcept
float getFontLineHeight() const noexcept
String fontVariant
Definition: Style.h:39
Color fillColor
Definition: Style.h:32
void setChangeFlags(std::underlying_type< StyleFlag >::type flags) noexcept
void setStrokeLineJoin(LineJoin strokeLineJoin) noexcept
float strokeWidth
Definition: Style.h:26
float getFontSize() const noexcept
void setFillRule(FillRule fillRule) noexcept
float dropShadowXOffset
Definition: Style.h:42
std::underlying_type< StyleFlag >::type changeFlags
Definition: Style.h:47
String getFontFamily() const noexcept
String getFontStyle() const noexcept
String getFontVariant() const noexcept
float getStrokeDashOffset() const noexcept
LineJoin strokeLineJoin
Definition: Style.h:28
void clearChangeFlags() noexcept
float getDropShadowRadius() const noexcept
std::underlying_type< StyleFlag >::type getChangeFlags() noexcept
String fontStyle
Definition: Style.h:38
void setStrokeLineCap(LineCap strokeLineCap) noexcept
float dropShadowRadius
Definition: Style.h:44
std::vector< float > getStrokeDashArray() const noexcept
void setFontLineHeight(float fontLineHeight) noexcept
void setStrokeWidth(float strokeWidth) noexcept
int getFontWeight() const noexcept
float getDropShadowYOffset() const noexcept
Color getFillColor() const noexcept
FillRule fillRule
Definition: Style.h:33
float fontLineHeight
Definition: Style.h:36
void setDropShadowRadius(float dropShadowRadius) noexcept
int fontWeight
Definition: Style.h:40
void setFontVariant(const String &fontVariant) noexcept
LineJoin getStrokeLineJoin() const noexcept
LineCap strokeLineCap
Definition: Style.h:27
std::vector< float > strokeDashArray
Definition: Style.h:30
float strokeDashOffset
Definition: Style.h:31
Color dropShadowColor
Definition: Style.h:45
void setStrokeMiterLimit(float strokeMiterLimit) noexcept
float fontSize
Definition: Style.h:37
Color getDropShadowColor() const noexcept
float getStrokeMiterLimit() const noexcept
void setFontFamily(const String &fontFamily) noexcept
void setStrokeDashOffset(float strokeDashOffset) noexcept
void setDropShadowColor(Color dropShadowColor) noexcept
FillRule getFillRule() const noexcept
float getDropShadowXOffset() const noexcept
String fontFamily
Definition: Style.h:35
LineCap getStrokeLineCap() const noexcept
void setFontStyle(const String &fontStyle) noexcept
void setStrokeDashArray(const std::vector< float > &strokeDashArray) noexcept
float strokeMiterLimit
Definition: Style.h:29
float getStrokeWidth() const noexcept
void applyTo(ICanvas &canvas) noexcept
void setDropShadowXOffset(float dropShadowXOffset) noexcept
void setFontSize(float fontSize) noexcept
void setFontWeight(int fontWeight) noexcept
Color strokeColor
Definition: Style.h:25
float dropShadowYOffset
Definition: Style.h:43
void setDropShadowYOffset(float dropShadowYOffset) noexcept
Color getStrokeColor() const noexcept
void setFillColor(Color fillColor) noexcept
FillRule
Definition: FillRule.h:13
LineJoin
Definition: LineJoin.h:13
StyleFlag
Definition: StyleFlag.h:13
LineCap
Definition: LineCap.h:13
Definition: Configuration.h:10
static const Color BLACK
Definition: Color.h:21
static const Color NONE
Definition: Color.h:20