xtd 0.2.0
Loading...
Searching...
No Matches
brushes

Definition

Represents brushes used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths.

Classes

class  xtd::drawing::brush
 Defines objects used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths. More...
 
class  xtd::drawing::brushes
 Brushes for all the standard colors. This class cannot be inherited. More...
 
class  xtd::drawing::drawing_2d::conical_gradient_brush
 Encapsulates a xtd::drawing::brush with a conical gradient. This class cannot be inherited. More...
 
class  xtd::drawing::drawing_2d::hatch_brush
 Defines a rectangular xtd::drawing::brush with a hatch style, a foreground color, and a background color. This class cannot be inherited. More...
 
class  xtd::drawing::drawing_2d::linear_gradient_brush
 Encapsulates a xtd::drawing::brush with a linear gradient. This class cannot be inherited. More...
 
class  xtd::drawing::drawing_2d::radial_gradient_brush
 Encapsulates a xtd::drawing::brush with a radial gradient. This class cannot be inherited. More...
 
class  xtd::drawing::solid_brush
 Defines a xtd::drawing::brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths. This class cannot be inherited. More...
 
class  xtd::drawing::system_brushes
 Each property of the xtd::drawing::system_brushes class is a xtd::drawing::solid_brush that is the color of a Windows display element. More...
 
class  xtd::drawing::texture_brush
 Each property of the xtd::drawing::texture_brush class is a xtd::drawing::brush object that uses an image to fill the interior of a shape. This class cannot be inherited. More...
 

Typedefs

using xtd::drawing::drawing_2d::gradient_stop = xtd::collections::generic::key_value_pair< xtd::drawing::color, float >
 Describes the location and color of a transition point in a gradient.
 
using xtd::drawing::drawing_2d::gradient_stop_collection = std::vector< xtd::drawing::drawing_2d::gradient_stop >
 Represents a collection of xtd::drawing::drawing_2d::gradient_stop objects that can be individually accessed by index.
 

Typedef Documentation

◆ gradient_stop

#include <xtd.drawing/include/xtd/drawing/drawing_2d/gradient_stop.h>

Describes the location and color of a transition point in a gradient.

Namespace
xtd::drawing::drawing_2d
Library
xtd.drawing
Parameters
colorThe color of the gradient stop.
offsetThe location of the gradient stop within the gradient vector.
Remarks
A value of 0.0 specifies that the stop is positioned at the beginning of the gradient vector, while a value of 1.0 specifies that the stop is positioned at the end of the gradient vector.

◆ gradient_stop_collection