2#ifndef _aspose_system_drawing_solid_brush_h_
3#define _aspose_system_drawing_solid_brush_h_
5#include "drawing/brush.h"
6#include "drawing/color.h"
10#ifdef ASPOSECPPLIB_BEING_BUILT
11#include "core/SkColor.h"
15ASPOSECPP_3RD_PARTY_TYPEDEF(SkColor, std::uint32_t);
17ASPOSECPP_3RD_PARTY_CLASS(SkPaint);
20namespace System {
namespace Drawing {
47 MEMBER_FUNCTION_MAKE_OBJECT(
SolidBrush, CODEPORTING_ARGS(), CODEPORTING_ARGS());
A base class for classes that represent fillers used to fill the interiors of graphical shapes....
Definition: brush.h:18
Represents a color. This type should be allocated on stack and passed to functions by value or by ref...
Definition: color.h:24
Represents single-color brush. Objects of this class should only be allocated using System::MakeObjec...
Definition: solid_brush.h:26
SolidBrush()
Constructs a new instance of SolidBrush class.
virtual void Apply(SkPaint &paint, const SharedPtr< Drawing2D::Matrix > &matrix, bool apply_shift) override
Sets the properties of the current brush on the specified SkPaint object.
Color get_Color() const
Returns this brush's color.
void set_Color(Color color)
Sets the color of this brush.
SolidBrush(const Color &color)
Constructs a new SolidBrush object and initalizes it with the specified color.
virtual SharedPtr< Brush > Clone() override
Creates a copy of the current object.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9