xtd 0.2.0
xtd::drawing::drawing2d Namespace Reference

Definition

The xtd::drawing::drawing2d namespace provides advanced two-dimensional and vector graphics functionality.

Deprecated
Replaced by xtd::drawing::drawing_2d - Will be removed in version 0.4.0.
Deprecated
Replaced by xtd::drawing::drawing_2d - Will be removed in version 0.4.0.
Deprecated
Replaced by xtd::drawing::drawing_2d - Will be removed in version 0.4.0.
Deprecated
Replaced by xtd::drawing::drawing_2d - Will be removed in version 0.4.0.
Deprecated
Replaced by xtd::drawing::drawing_2d - Will be removed in version 0.4.0.
Deprecated
Replaced by xtd::drawing::drawing_2d - Will be removed in version 0.4.0.

Classes

class  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  linear_gradient_brush
 Encapsulates a xtd::drawing::brush with a linear gradient. This class cannot be inherited. More...
 

Enumerations

enum class  hatch_style
 Specifies the different patterns available for xtd::drawing::drawing_2d::hatch_brush objects. More...
 
enum class  linear_gradient_mode
 Specifies the direction of a linear gradient. More...
 
enum class  pen_alignment
 Specifies the alignment of a xtd::drawing::pen object in relation to the theoretical, zero-width line. More...
 
enum class  pen_type
 Specifies the type of fill a xtd::drawing::pen object uses to fill lines. More...
 

Enumeration Type Documentation

◆ hatch_style

Specifies the different patterns available for xtd::drawing::drawing_2d::hatch_brush objects.

Namespace
xtd::drawing::drawing_2d
Library
xtd.drawing

◆ linear_gradient_mode

Specifies the direction of a linear gradient.

Namespace
xtd::drawing::drawing_2d
Library
xtd.drawing

◆ pen_alignment

Specifies the alignment of a xtd::drawing::pen object in relation to the theoretical, zero-width line.

Namespace
xtd::drawing::drawing_2d
Library
xtd.drawing
Remarks
A xtd::drawing::pen object has width. The center point of this pen width is aligned relative to the line being drawn depending on the alignment value. A xtd::drawing::pen object can be positioned to draw inside of a line or centered over the line.
See also
xtd::drawing::pen

◆ pen_type

Specifies the type of fill a xtd::drawing::pen object uses to fill lines.

Namespace
xtd::drawing::drawing_2d
Library
xtd.drawing
Remarks
The pen type is determined by the brush property of the xtd::drawing::pen object.