2#ifndef ___color_blend_h___
3#define ___color_blend_h___
6#include "system/array.h"
7#include "drawing/color.h"
9namespace System {
namespace Drawing {
namespace Drawing2D {
21 m_positions = MakeObject< Array<float> >(1, .0f);
29 m_positions = MakeObject< Array<float> >(count, .0f);
static Color get_Black()
Returns a color whose ARGB value in hexadecimal notation is #FF000000.
Contains arrays of colors and positions used for interpolating color blending in a multicolor gradien...
Definition: color_blend.h:15
void set_Colors(const ArrayPtr< Color > &value)
Sets an array of colors to use at corresponding positions along a gradient.
Definition: color_blend.h:39
ArrayPtr< Color > m_colors
An array of colors.
Definition: color_blend.h:60
ArrayPtr< float > m_positions
An array of positions.
Definition: color_blend.h:62
void set_Positions(const ArrayPtr< float > &value)
Sets the array of blend positions along a gradient.
Definition: color_blend.h:52
ArrayPtr< Color > get_Colors()
Returns an array of colors to use at corresponding positions along a gradient.
Definition: color_blend.h:33
ColorBlend(int count)
Constructs a new instance of Blend class.
Definition: color_blend.h:26
ColorBlend()
Constructs a new instance of ColorBlend class.
Definition: color_blend.h:18
ArrayPtr< float > get_Positions()
Returns the array of blend positions along a gradient.
Definition: color_blend.h:45
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
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