|
static Color | MixColors (params Color[] m_colors) |
| Mix two or more colors More...
|
|
static List< float[]> | GetRectangle (float w=100, float h=100, float x=0, float y=0) |
| Make rectangle as two triangles by its width, height and top left corner position (x, y) More...
|
|
static List< float[]> | GetRoundSquare (CornerRadius cornerRadius, float width=100, float height=100, int x=0, int y=0) |
| Make a rectangle with roundness corners More...
|
|
static List< float[]> | GetRoundSquare (float width=100, float height=100, float radius=0.0f, int x=0, int y=0) |
| Make a rectangle with roundness corners More...
|
|
static List< float[]> | GetStar (float R=100, float r=50, int n=5) |
| Make a star figure More...
|
|
static List< float[]> | GetRegularPolygon (float r=100, int n=6) |
| Make a regular polygon More...
|
|
static List< float[]> | GetEllipse (float r=100, int n=32) |
| Make an ellipse with two equal radii (i. e. circle) More...
|
|
static List< float[]> | GetEllipse (float w, float h, int x=0, int y=0, int n=32) |
| Make an ellipse More...
|
|
static List< float[]> | GetTriangle (float w=100, float h=100, int x=0, int y=0, int a=0) |
| Make a triangle with corners in (x + w/2, y), (x, y + h), (x + w, y + h), rotated on a degrees More...
|
|
static List< float[]> | GetCross (float w, float h, float thickness, int alpha) |
| Make cross figure More...
|
|
static List< float[]> | RotateShape (float w, float h, float angle, List< float[]> triangles) |
|
static List< float[]> | GetArrow (float w, float h, float thickness, int alpha) |
|
static List< float[]> | MoveShape (List< float[]> shape, float x, float y) |
| Move shape by X or/and Y direction More...
|
|
static List< float[]> | GetFolderIconShape (float w=20.0f, float h=15.0f, float x=0, float y=0) |
| Make folder icon shape as three rectangles More...
|
|
static List< float[]> | GetRoundSquareBorder (float width, float height, float radius, float thickness, int x, int y) |
| Make a rectangle border with roundness corners More...
|
|
static List< float[]> | GetRoundSquareBorder (CornerRadius cornerRadius, float width, float height, float thickness, int x, int y) |
| Make a rectangle border with roundness corners More...
|
|
static Bitmap | ScaleBitmap (Bitmap img, int w, int h) |
|
static Color | ColorTransform (int r, int g, int b) |
|
static Color | ColorTransform (int r, int g, int b, int a) |
|
static Color | ColorTransform (float r, float g, float b) |
|
static Color | ColorTransform (float r, float g, float b, float a) |
|
static Font | ChangeFontSize (int size, Font oldFont) |
|
static Font | ChangeFontStyle (FontStyle style, Font oldFont) |
|
static Font | ChangeFontFamily (FontFamily fontFamily, Font oldFont) |
|
Class with some functions for constructing custom figures