System.Drawing
47 wrapped types. Load them with using { "System.Drawing" }. Click a class to open it.
Bitmap class sealed · extends Image
System.Drawing.Bitmap · assembly System.Drawing.Common
Implements: IDisposable, ICloneable, ISerializable
Constructors
new Bitmap(string filename) |
new Bitmap(string filename, bool useIcm) |
new Bitmap(Stream stream) |
new Bitmap(Stream stream, bool useIcm) |
new Bitmap(Type type, string resource) |
new Bitmap(int width, int height) |
new Bitmap(int width, int height, Graphics g) |
new Bitmap(int width, int height, int stride, PixelFormat format, IntPtr scan0) |
new Bitmap(int width, int height, PixelFormat format) |
new Bitmap(Image original) |
new Bitmap(Image original, Size newSize) |
new Bitmap(Image original, int width, int height) |
Ring: new Bitmap(args) uses one constructor; the others are chosen by the parameter names: new Bitmap().@New([ :param = value ]) or dnNew("Bitmap",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ApplyEffect | callMethod("ApplyEffect",[p1,p2]) | void ApplyEffect(Effect effect, Rectangle area = …) |
Clone | Clone([ :rect = …, :format = … ]) | Bitmap Clone(RectangleF rect, PixelFormat format)Bitmap Clone(Rectangle rect, PixelFormat format) |
ConvertFormat | callMethod("ConvertFormat",[p1])callMethod("ConvertFormat",[p1,p2,p3,p4,p5]) | void ConvertFormat(PixelFormat format, DitherType ditherType, PaletteType paletteType = …, ColorPalette palette = …, float alphaThresholdPercent = …)void ConvertFormat(PixelFormat format) |
FromHicon | FromHicon(p1) | static Bitmap FromHicon(IntPtr hicon) |
FromResource | FromResource(p1,p2) | static Bitmap FromResource(IntPtr hinstance, string bitmapName) |
GetHbitmap | GetHbitmap(NULL)GetHbitmap(value)GetHbitmap([ :background = … ]) | IntPtr GetHbitmap()IntPtr GetHbitmap(Color background) |
GetHicon | callMethod("GetHicon",[]) | IntPtr GetHicon() |
GetPixel | callMethod("GetPixel",[p1,p2]) | Color GetPixel(int x, int y) |
LockBits | LockBits([ :rect = …, :flags = …, :format = … ])LockBits([ :rect = …, :flags = …, :format = …, :bitmapData = … ]) | BitmapData LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format)BitmapData LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format, BitmapData bitmapData) |
MakeTransparent | callMethod("MakeTransparent",[])callMethod("MakeTransparent",[p1]) | void MakeTransparent()void MakeTransparent(Color transparentColor) |
SetPixel | SetPixel(p1,p2,p3) | void SetPixel(int x, int y, Color color) |
SetResolution | callMethod("SetResolution",[p1,p2]) | void SetResolution(float xDpi, float yDpi) |
UnlockBits | UnlockBits(p1) | void UnlockBits(BitmapData bitmapdata) |
Members of the base class are inherited.
BitmapSuffixInSameAssemblyAttribute class · extends Attribute
System.Drawing.BitmapSuffixInSameAssemblyAttribute · assembly System.Drawing.Common
Constructors
new BitmapSuffixInSameAssemblyAttribute() |
Ring: new BitmapSuffixInSameAssemblyAttribute(args) uses one constructor; the others are chosen by the parameter names: new BitmapSuffixInSameAssemblyAttribute().@New([ :param = value ]) or dnNew("BitmapSuffixInSameAssemblyAttribute",[ :param = value ]).
Members of the base class are inherited.
BitmapSuffixInSatelliteAssemblyAttribute class · extends Attribute
System.Drawing.BitmapSuffixInSatelliteAssemblyAttribute · assembly System.Drawing.Common
Constructors
new BitmapSuffixInSatelliteAssemblyAttribute() |
Ring: new BitmapSuffixInSatelliteAssemblyAttribute(args) uses one constructor; the others are chosen by the parameter names: new BitmapSuffixInSatelliteAssemblyAttribute().@New([ :param = value ]) or dnNew("BitmapSuffixInSatelliteAssemblyAttribute",[ :param = value ]).
Members of the base class are inherited.
Brush class abstract
System.Drawing.Brush · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Brushes class static
System.Drawing.Brushes · assembly System.Drawing.Common
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Transparent | Brush | read · static | o.Transparent |
AliceBlue | Brush | read · static | o.AliceBlue |
AntiqueWhite | Brush | read · static | o.AntiqueWhite |
Aqua | Brush | read · static | o.Aqua |
Aquamarine | Brush | read · static | o.Aquamarine |
Azure | Brush | read · static | o.Azure |
Beige | Brush | read · static | o.Beige |
Bisque | Brush | read · static | o.Bisque |
Black | Brush | read · static | o.Black |
BlanchedAlmond | Brush | read · static | o.BlanchedAlmond |
Blue | Brush | read · static | o.Blue |
BlueViolet | Brush | read · static | o.BlueViolet |
Brown | Brush | read · static | o.Brown |
BurlyWood | Brush | read · static | o.BurlyWood |
CadetBlue | Brush | read · static | o.CadetBlue |
Chartreuse | Brush | read · static | o.Chartreuse |
Chocolate | Brush | read · static | o.Chocolate |
Coral | Brush | read · static | o.Coral |
CornflowerBlue | Brush | read · static | o.CornflowerBlue |
Cornsilk | Brush | read · static | o.Cornsilk |
Crimson | Brush | read · static | o.Crimson |
Cyan | Brush | read · static | o.Cyan |
DarkBlue | Brush | read · static | o.DarkBlue |
DarkCyan | Brush | read · static | o.DarkCyan |
DarkGoldenrod | Brush | read · static | o.DarkGoldenrod |
DarkGray | Brush | read · static | o.DarkGray |
DarkGreen | Brush | read · static | o.DarkGreen |
DarkKhaki | Brush | read · static | o.DarkKhaki |
DarkMagenta | Brush | read · static | o.DarkMagenta |
DarkOliveGreen | Brush | read · static | o.DarkOliveGreen |
DarkOrange | Brush | read · static | o.DarkOrange |
DarkOrchid | Brush | read · static | o.DarkOrchid |
DarkRed | Brush | read · static | o.DarkRed |
DarkSalmon | Brush | read · static | o.DarkSalmon |
DarkSeaGreen | Brush | read · static | o.DarkSeaGreen |
DarkSlateBlue | Brush | read · static | o.DarkSlateBlue |
DarkSlateGray | Brush | read · static | o.DarkSlateGray |
DarkTurquoise | Brush | read · static | o.DarkTurquoise |
DarkViolet | Brush | read · static | o.DarkViolet |
DeepPink | Brush | read · static | o.DeepPink |
DeepSkyBlue | Brush | read · static | o.DeepSkyBlue |
DimGray | Brush | read · static | o.DimGray |
DodgerBlue | Brush | read · static | o.DodgerBlue |
Firebrick | Brush | read · static | o.Firebrick |
FloralWhite | Brush | read · static | o.FloralWhite |
ForestGreen | Brush | read · static | o.ForestGreen |
Fuchsia | Brush | read · static | o.Fuchsia |
Gainsboro | Brush | read · static | o.Gainsboro |
GhostWhite | Brush | read · static | o.GhostWhite |
Gold | Brush | read · static | o.Gold |
Goldenrod | Brush | read · static | o.Goldenrod |
Gray | Brush | read · static | o.Gray |
Green | Brush | read · static | o.Green |
GreenYellow | Brush | read · static | o.GreenYellow |
Honeydew | Brush | read · static | o.Honeydew |
HotPink | Brush | read · static | o.HotPink |
IndianRed | Brush | read · static | o.IndianRed |
Indigo | Brush | read · static | o.Indigo |
Ivory | Brush | read · static | o.Ivory |
Khaki | Brush | read · static | o.Khaki |
Lavender | Brush | read · static | o.Lavender |
LavenderBlush | Brush | read · static | o.LavenderBlush |
LawnGreen | Brush | read · static | o.LawnGreen |
LemonChiffon | Brush | read · static | o.LemonChiffon |
LightBlue | Brush | read · static | o.LightBlue |
LightCoral | Brush | read · static | o.LightCoral |
LightCyan | Brush | read · static | o.LightCyan |
LightGoldenrodYellow | Brush | read · static | o.LightGoldenrodYellow |
LightGreen | Brush | read · static | o.LightGreen |
LightGray | Brush | read · static | o.LightGray |
LightPink | Brush | read · static | o.LightPink |
LightSalmon | Brush | read · static | o.LightSalmon |
LightSeaGreen | Brush | read · static | o.LightSeaGreen |
LightSkyBlue | Brush | read · static | o.LightSkyBlue |
LightSlateGray | Brush | read · static | o.LightSlateGray |
LightSteelBlue | Brush | read · static | o.LightSteelBlue |
LightYellow | Brush | read · static | o.LightYellow |
Lime | Brush | read · static | o.Lime |
LimeGreen | Brush | read · static | o.LimeGreen |
Linen | Brush | read · static | o.Linen |
Magenta | Brush | read · static | o.Magenta |
Maroon | Brush | read · static | o.Maroon |
MediumAquamarine | Brush | read · static | o.MediumAquamarine |
MediumBlue | Brush | read · static | o.MediumBlue |
MediumOrchid | Brush | read · static | o.MediumOrchid |
MediumPurple | Brush | read · static | o.MediumPurple |
MediumSeaGreen | Brush | read · static | o.MediumSeaGreen |
MediumSlateBlue | Brush | read · static | o.MediumSlateBlue |
MediumSpringGreen | Brush | read · static | o.MediumSpringGreen |
MediumTurquoise | Brush | read · static | o.MediumTurquoise |
MediumVioletRed | Brush | read · static | o.MediumVioletRed |
MidnightBlue | Brush | read · static | o.MidnightBlue |
MintCream | Brush | read · static | o.MintCream |
MistyRose | Brush | read · static | o.MistyRose |
Moccasin | Brush | read · static | o.Moccasin |
NavajoWhite | Brush | read · static | o.NavajoWhite |
Navy | Brush | read · static | o.Navy |
OldLace | Brush | read · static | o.OldLace |
Olive | Brush | read · static | o.Olive |
OliveDrab | Brush | read · static | o.OliveDrab |
Orange | Brush | read · static | o.Orange |
OrangeRed | Brush | read · static | o.OrangeRed |
Orchid | Brush | read · static | o.Orchid |
PaleGoldenrod | Brush | read · static | o.PaleGoldenrod |
PaleGreen | Brush | read · static | o.PaleGreen |
PaleTurquoise | Brush | read · static | o.PaleTurquoise |
PaleVioletRed | Brush | read · static | o.PaleVioletRed |
PapayaWhip | Brush | read · static | o.PapayaWhip |
PeachPuff | Brush | read · static | o.PeachPuff |
Peru | Brush | read · static | o.Peru |
Pink | Brush | read · static | o.Pink |
Plum | Brush | read · static | o.Plum |
PowderBlue | Brush | read · static | o.PowderBlue |
Purple | Brush | read · static | o.Purple |
Red | Brush | read · static | o.Red |
RosyBrown | Brush | read · static | o.RosyBrown |
RoyalBlue | Brush | read · static | o.RoyalBlue |
SaddleBrown | Brush | read · static | o.SaddleBrown |
Salmon | Brush | read · static | o.Salmon |
SandyBrown | Brush | read · static | o.SandyBrown |
SeaGreen | Brush | read · static | o.SeaGreen |
SeaShell | Brush | read · static | o.SeaShell |
Sienna | Brush | read · static | o.Sienna |
Silver | Brush | read · static | o.Silver |
SkyBlue | Brush | read · static | o.SkyBlue |
SlateBlue | Brush | read · static | o.SlateBlue |
SlateGray | Brush | read · static | o.SlateGray |
Snow | Brush | read · static | o.Snow |
SpringGreen | Brush | read · static | o.SpringGreen |
SteelBlue | Brush | read · static | o.SteelBlue |
Tan | Brush | read · static | o.Tan |
Teal | Brush | read · static | o.Teal |
Thistle | Brush | read · static | o.Thistle |
Tomato | Brush | read · static | o.Tomato |
Turquoise | Brush | read · static | o.Turquoise |
Violet | Brush | read · static | o.Violet |
Wheat | Brush | read · static | o.Wheat |
White | Brush | read · static | o.White |
WhiteSmoke | Brush | read · static | o.WhiteSmoke |
Yellow | Brush | read · static | o.Yellow |
YellowGreen | Brush | read · static | o.YellowGreen |
BufferedGraphics class sealed
System.Drawing.BufferedGraphics · assembly System.Drawing.Common
Implements: IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Graphics | Graphics | read | o.Graphics |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
Render | callMethod("Render",[])callMethod("Render",[p1]) | void Render(Graphics target)void Render()void Render(IntPtr targetDC) |
BufferedGraphicsContext class sealed
System.Drawing.BufferedGraphicsContext · assembly System.Drawing.Common
Implements: IDisposable
Constructors
new BufferedGraphicsContext() |
Ring: new BufferedGraphicsContext(args) uses one constructor; the others are chosen by the parameter names: new BufferedGraphicsContext().@New([ :param = value ]) or dnNew("BufferedGraphicsContext",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MaximumBuffer | Size | read, write | o.MaximumBuffer o.MaximumBuffer = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Allocate | callMethod("Allocate",[p1,p2]) | BufferedGraphics Allocate(Graphics targetGraphics, Rectangle targetRectangle)BufferedGraphics Allocate(IntPtr targetDC, Rectangle targetRectangle) |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Invalidate | callMethod("Invalidate",[]) | void Invalidate() |
BufferedGraphicsManager class static
System.Drawing.BufferedGraphicsManager · assembly System.Drawing.Common
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Current | BufferedGraphicsContext | read · static | o.Current |
CharacterRange struct
System.Drawing.CharacterRange · assembly System.Drawing.Common
Constructors
new CharacterRange(int First, int Length) |
Ring: new CharacterRange(args) uses one constructor; the others are chosen by the parameter names: new CharacterRange().@New([ :param = value ]) or dnNew("CharacterRange",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
First | int | read, write | o.First o.First = v |
Length | int | read, write | o.Length o.Length = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj)bool Equals(CharacterRange other) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Color struct
System.Drawing.Color · assembly System.Drawing.Primitives
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
R | byte | read | o.R |
G | byte | read | o.G |
B | byte | read | o.B |
A | byte | read | o.A |
IsKnownColor | bool | read | o.IsKnownColor |
IsEmpty | bool | read | o.IsEmpty |
IsNamedColor | bool | read | o.IsNamedColor |
IsSystemColor | bool | read | o.IsSystemColor |
Name | string | read | o.Name |
Transparent | Color | read · static | o.Transparent |
AliceBlue | Color | read · static | o.AliceBlue |
AntiqueWhite | Color | read · static | o.AntiqueWhite |
Aqua | Color | read · static | o.Aqua |
Aquamarine | Color | read · static | o.Aquamarine |
Azure | Color | read · static | o.Azure |
Beige | Color | read · static | o.Beige |
Bisque | Color | read · static | o.Bisque |
Black | Color | read · static | o.Black |
BlanchedAlmond | Color | read · static | o.BlanchedAlmond |
Blue | Color | read · static | o.Blue |
BlueViolet | Color | read · static | o.BlueViolet |
Brown | Color | read · static | o.Brown |
BurlyWood | Color | read · static | o.BurlyWood |
CadetBlue | Color | read · static | o.CadetBlue |
Chartreuse | Color | read · static | o.Chartreuse |
Chocolate | Color | read · static | o.Chocolate |
Coral | Color | read · static | o.Coral |
CornflowerBlue | Color | read · static | o.CornflowerBlue |
Cornsilk | Color | read · static | o.Cornsilk |
Crimson | Color | read · static | o.Crimson |
Cyan | Color | read · static | o.Cyan |
DarkBlue | Color | read · static | o.DarkBlue |
DarkCyan | Color | read · static | o.DarkCyan |
DarkGoldenrod | Color | read · static | o.DarkGoldenrod |
DarkGray | Color | read · static | o.DarkGray |
DarkGreen | Color | read · static | o.DarkGreen |
DarkKhaki | Color | read · static | o.DarkKhaki |
DarkMagenta | Color | read · static | o.DarkMagenta |
DarkOliveGreen | Color | read · static | o.DarkOliveGreen |
DarkOrange | Color | read · static | o.DarkOrange |
DarkOrchid | Color | read · static | o.DarkOrchid |
DarkRed | Color | read · static | o.DarkRed |
DarkSalmon | Color | read · static | o.DarkSalmon |
DarkSeaGreen | Color | read · static | o.DarkSeaGreen |
DarkSlateBlue | Color | read · static | o.DarkSlateBlue |
DarkSlateGray | Color | read · static | o.DarkSlateGray |
DarkTurquoise | Color | read · static | o.DarkTurquoise |
DarkViolet | Color | read · static | o.DarkViolet |
DeepPink | Color | read · static | o.DeepPink |
DeepSkyBlue | Color | read · static | o.DeepSkyBlue |
DimGray | Color | read · static | o.DimGray |
DodgerBlue | Color | read · static | o.DodgerBlue |
Firebrick | Color | read · static | o.Firebrick |
FloralWhite | Color | read · static | o.FloralWhite |
ForestGreen | Color | read · static | o.ForestGreen |
Fuchsia | Color | read · static | o.Fuchsia |
Gainsboro | Color | read · static | o.Gainsboro |
GhostWhite | Color | read · static | o.GhostWhite |
Gold | Color | read · static | o.Gold |
Goldenrod | Color | read · static | o.Goldenrod |
Gray | Color | read · static | o.Gray |
Green | Color | read · static | o.Green |
GreenYellow | Color | read · static | o.GreenYellow |
Honeydew | Color | read · static | o.Honeydew |
HotPink | Color | read · static | o.HotPink |
IndianRed | Color | read · static | o.IndianRed |
Indigo | Color | read · static | o.Indigo |
Ivory | Color | read · static | o.Ivory |
Khaki | Color | read · static | o.Khaki |
Lavender | Color | read · static | o.Lavender |
LavenderBlush | Color | read · static | o.LavenderBlush |
LawnGreen | Color | read · static | o.LawnGreen |
LemonChiffon | Color | read · static | o.LemonChiffon |
LightBlue | Color | read · static | o.LightBlue |
LightCoral | Color | read · static | o.LightCoral |
LightCyan | Color | read · static | o.LightCyan |
LightGoldenrodYellow | Color | read · static | o.LightGoldenrodYellow |
LightGreen | Color | read · static | o.LightGreen |
LightGray | Color | read · static | o.LightGray |
LightPink | Color | read · static | o.LightPink |
LightSalmon | Color | read · static | o.LightSalmon |
LightSeaGreen | Color | read · static | o.LightSeaGreen |
LightSkyBlue | Color | read · static | o.LightSkyBlue |
LightSlateGray | Color | read · static | o.LightSlateGray |
LightSteelBlue | Color | read · static | o.LightSteelBlue |
LightYellow | Color | read · static | o.LightYellow |
Lime | Color | read · static | o.Lime |
LimeGreen | Color | read · static | o.LimeGreen |
Linen | Color | read · static | o.Linen |
Magenta | Color | read · static | o.Magenta |
Maroon | Color | read · static | o.Maroon |
MediumAquamarine | Color | read · static | o.MediumAquamarine |
MediumBlue | Color | read · static | o.MediumBlue |
MediumOrchid | Color | read · static | o.MediumOrchid |
MediumPurple | Color | read · static | o.MediumPurple |
MediumSeaGreen | Color | read · static | o.MediumSeaGreen |
MediumSlateBlue | Color | read · static | o.MediumSlateBlue |
MediumSpringGreen | Color | read · static | o.MediumSpringGreen |
MediumTurquoise | Color | read · static | o.MediumTurquoise |
MediumVioletRed | Color | read · static | o.MediumVioletRed |
MidnightBlue | Color | read · static | o.MidnightBlue |
MintCream | Color | read · static | o.MintCream |
MistyRose | Color | read · static | o.MistyRose |
Moccasin | Color | read · static | o.Moccasin |
NavajoWhite | Color | read · static | o.NavajoWhite |
Navy | Color | read · static | o.Navy |
OldLace | Color | read · static | o.OldLace |
Olive | Color | read · static | o.Olive |
OliveDrab | Color | read · static | o.OliveDrab |
Orange | Color | read · static | o.Orange |
OrangeRed | Color | read · static | o.OrangeRed |
Orchid | Color | read · static | o.Orchid |
PaleGoldenrod | Color | read · static | o.PaleGoldenrod |
PaleGreen | Color | read · static | o.PaleGreen |
PaleTurquoise | Color | read · static | o.PaleTurquoise |
PaleVioletRed | Color | read · static | o.PaleVioletRed |
PapayaWhip | Color | read · static | o.PapayaWhip |
PeachPuff | Color | read · static | o.PeachPuff |
Peru | Color | read · static | o.Peru |
Pink | Color | read · static | o.Pink |
Plum | Color | read · static | o.Plum |
PowderBlue | Color | read · static | o.PowderBlue |
Purple | Color | read · static | o.Purple |
RebeccaPurple | Color | read · static | o.RebeccaPurple |
Red | Color | read · static | o.Red |
RosyBrown | Color | read · static | o.RosyBrown |
RoyalBlue | Color | read · static | o.RoyalBlue |
SaddleBrown | Color | read · static | o.SaddleBrown |
Salmon | Color | read · static | o.Salmon |
SandyBrown | Color | read · static | o.SandyBrown |
SeaGreen | Color | read · static | o.SeaGreen |
SeaShell | Color | read · static | o.SeaShell |
Sienna | Color | read · static | o.Sienna |
Silver | Color | read · static | o.Silver |
SkyBlue | Color | read · static | o.SkyBlue |
SlateBlue | Color | read · static | o.SlateBlue |
SlateGray | Color | read · static | o.SlateGray |
Snow | Color | read · static | o.Snow |
SpringGreen | Color | read · static | o.SpringGreen |
SteelBlue | Color | read · static | o.SteelBlue |
Tan | Color | read · static | o.Tan |
Teal | Color | read · static | o.Teal |
Thistle | Color | read · static | o.Thistle |
Tomato | Color | read · static | o.Tomato |
Turquoise | Color | read · static | o.Turquoise |
Violet | Color | read · static | o.Violet |
Wheat | Color | read · static | o.Wheat |
White | Color | read · static | o.White |
WhiteSmoke | Color | read · static | o.WhiteSmoke |
Yellow | Color | read · static | o.Yellow |
YellowGreen | Color | read · static | o.YellowGreen |
Empty | Color | read · static | o.Empty |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj)bool Equals(Color other) |
FromArgb | FromArgb(value)FromArgb([ :argb = … ])FromArgb([ :alpha = …, :baseColor = … ])FromArgb([ :red = …, :green = …, :blue = … ])FromArgb([ :alpha = …, :red = …, :green = …, :blue = … ]) | static Color FromArgb(int argb)static Color FromArgb(int alpha, int red, int green, int blue)static Color FromArgb(int alpha, Color baseColor)static Color FromArgb(int red, int green, int blue) |
FromKnownColor | FromKnownColor(p1) | static Color FromKnownColor(KnownColor color) |
FromName | FromName(p1) | static Color FromName(string name) |
GetBrightness | callMethod("GetBrightness",[]) | float GetBrightness() |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
GetHue | callMethod("GetHue",[]) | float GetHue() |
GetSaturation | callMethod("GetSaturation",[]) | float GetSaturation() |
ToArgb | callMethod("ToArgb",[]) | int ToArgb() |
ToKnownColor | callMethod("ToKnownColor",[]) | KnownColor ToKnownColor() |
ToString | callMethod("ToString",[]) | string ToString() |
ColorConverter class · extends TypeConverter
System.Drawing.ColorConverter · assembly System.ComponentModel.TypeConverter
Constructors
new ColorConverter() |
Ring: new ColorConverter(args) uses one constructor; the others are chosen by the parameter names: new ColorConverter().@New([ :param = value ]) or dnNew("ColorConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
CanConvertTo | callMethod("CanConvertTo",[p1,p2]) | bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
ConvertTo | ConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ]) | object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
GetStandardValues | GetStandardValues(value)GetStandardValues([ :context = … ]) | TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) |
GetStandardValuesSupported | callMethod("GetStandardValuesSupported",[p1]) | bool GetStandardValuesSupported(ITypeDescriptorContext context) |
Members of the base class are inherited.
ColorTranslator class static
System.Drawing.ColorTranslator · assembly System.Drawing.Primitives
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
FromHtml | FromHtml(p1) | static Color FromHtml(string htmlColor) |
FromOle | FromOle(p1) | static Color FromOle(int oleColor) |
FromWin32 | FromWin32(p1) | static Color FromWin32(int win32Color) |
ToHtml | ToHtml(p1) | static string ToHtml(Color c) |
ToOle | ToOle(p1) | static int ToOle(Color c) |
ToWin32 | ToWin32(p1) | static int ToWin32(Color c) |
Font class sealed
System.Drawing.Font · assembly System.Drawing.Common
Implements: ICloneable, IDisposable, ISerializable
Constructors
new Font(Font prototype, FontStyle newStyle) |
new Font(FontFamily family, float emSize, FontStyle style, GraphicsUnit unit) |
new Font(FontFamily family, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet) |
new Font(FontFamily family, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet, bool gdiVerticalFont) |
new Font(string familyName, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet) |
new Font(string familyName, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet, bool gdiVerticalFont) |
new Font(FontFamily family, float emSize, FontStyle style) |
new Font(FontFamily family, float emSize, GraphicsUnit unit) |
new Font(FontFamily family, float emSize) |
new Font(string familyName, float emSize, FontStyle style, GraphicsUnit unit) |
new Font(string familyName, float emSize, FontStyle style) |
new Font(string familyName, float emSize, GraphicsUnit unit) |
new Font(string familyName, float emSize) |
Ring: new Font(args) uses one constructor; the others are chosen by the parameter names: new Font().@New([ :param = value ]) or dnNew("Font",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Size | float | read | o.Size |
Style | FontStyle | read | o.Style |
Bold | bool | read | o.Bold |
Italic | bool | read | o.Italic |
Strikeout | bool | read | o.Strikeout |
Underline | bool | read | o.Underline |
FontFamily | FontFamily | read | o.FontFamily |
Name | string | read | o.Name |
Unit | GraphicsUnit | read | o.Unit |
GdiCharSet | byte | read | o.GdiCharSet |
GdiVerticalFont | bool | read | o.GdiVerticalFont |
OriginalFontName | string | read | o.OriginalFontName |
SystemFontName | string | read | o.SystemFontName |
IsSystemFont | bool | read | o.IsSystemFont |
Height | int | read | o.Height |
SizeInPoints | float | read | o.SizeInPoints |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Equals | Equals(p1) | bool Equals(object obj) |
FromHdc | FromHdc(p1) | static Font FromHdc(IntPtr hdc) |
FromHfont | FromHfont(p1) | static Font FromHfont(IntPtr hfont) |
FromLogFont | FromLogFont(value)FromLogFont([ :lf = … ])FromLogFont([ :logFont = … ])FromLogFont([ :logFont = …, :hdc = … ])FromLogFont([ :lf = …, :hdc = … ]) | static Font FromLogFont(object lf)static Font FromLogFont(ref LOGFONT logFont)static Font FromLogFont(ref LOGFONT logFont, IntPtr hdc)static Font FromLogFont(object lf, IntPtr hdc) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
GetHeight | callMethod("GetHeight",[])callMethod("GetHeight",[p1]) | float GetHeight(Graphics graphics)float GetHeight(float dpi)float GetHeight() |
ToHfont | callMethod("ToHfont",[]) | IntPtr ToHfont() |
ToLogFont | ToLogFont(value)ToLogFont([ :logFont = … ])ToLogFont([ :logFont = …, :graphics = … ]) | void ToLogFont(object logFont, Graphics graphics)void ToLogFont(out LOGFONT logFont, Graphics graphics)void ToLogFont(object logFont)void ToLogFont(out LOGFONT logFont) |
ToString | callMethod("ToString",[]) | string ToString() |
FontConverter class · extends TypeConverter
System.Drawing.FontConverter · assembly System.Drawing.Common
Constructors
new FontConverter() |
Ring: new FontConverter(args) uses one constructor; the others are chosen by the parameter names: new FontConverter().@New([ :param = value ]) or dnNew("FontConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
CanConvertTo | callMethod("CanConvertTo",[p1,p2]) | bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
ConvertTo | ConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ]) | object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
CreateInstance | CreateInstance([ :context = …, :propertyValues = … ]) | object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues) |
GetCreateInstanceSupported | callMethod("GetCreateInstanceSupported",[p1]) | bool GetCreateInstanceSupported(ITypeDescriptorContext context) |
GetProperties | GetProperties([ :context = …, :value = …, :attributes = … ]) | PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) |
GetPropertiesSupported | callMethod("GetPropertiesSupported",[p1]) | bool GetPropertiesSupported(ITypeDescriptorContext context) |
Members of the base class are inherited.
FontConverterFontNameConverter class sealed · extends TypeConverter
System.Drawing.FontConverter+FontNameConverter · assembly System.Drawing.Common
Implements: IDisposable
Constructors
new FontConverterFontNameConverter() |
Ring: new FontConverterFontNameConverter(args) uses one constructor; the others are chosen by the parameter names: new FontConverterFontNameConverter().@New([ :param = value ]) or dnNew("FontConverterFontNameConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
GetStandardValues | GetStandardValues(value)GetStandardValues([ :context = … ]) | TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) |
GetStandardValuesExclusive | callMethod("GetStandardValuesExclusive",[p1]) | bool GetStandardValuesExclusive(ITypeDescriptorContext context) |
GetStandardValuesSupported | callMethod("GetStandardValuesSupported",[p1]) | bool GetStandardValuesSupported(ITypeDescriptorContext context) |
Members of the base class are inherited.
FontConverterFontUnitConverter class · extends EnumConverter
System.Drawing.FontConverter+FontUnitConverter · assembly System.Drawing.Common
Constructors
new FontConverterFontUnitConverter() |
Ring: new FontConverterFontUnitConverter(args) uses one constructor; the others are chosen by the parameter names: new FontConverterFontUnitConverter().@New([ :param = value ]) or dnNew("FontConverterFontUnitConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetStandardValues | GetStandardValues(value)GetStandardValues([ :context = … ]) | TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) |
Members of the base class are inherited.
FontFamily class sealed
System.Drawing.FontFamily · assembly System.Drawing.Common
Implements: IDisposable
Constructors
new FontFamily(string name) |
new FontFamily(string name, FontCollection fontCollection) |
new FontFamily(GenericFontFamilies genericFamily) |
Ring: new FontFamily(args) uses one constructor; the others are chosen by the parameter names: new FontFamily().@New([ :param = value ]) or dnNew("FontFamily",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
Families | FontFamily[] | read · static | o.Families |
GenericSansSerif | FontFamily | read · static | o.GenericSansSerif |
GenericSerif | FontFamily | read · static | o.GenericSerif |
GenericMonospace | FontFamily | read · static | o.GenericMonospace |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
Equals | Equals(p1) | bool Equals(object obj) |
GetCellAscent | GetCellAscent(p1) | int GetCellAscent(FontStyle style) |
GetCellDescent | GetCellDescent(p1) | int GetCellDescent(FontStyle style) |
GetEmHeight | GetEmHeight(p1) | int GetEmHeight(FontStyle style) |
GetFamilies | @GetFamilies(p1) | static FontFamily[] GetFamilies(Graphics graphics) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
GetLineSpacing | GetLineSpacing(p1) | int GetLineSpacing(FontStyle style) |
GetName | callMethod("GetName",[p1]) | string GetName(int language) |
IsStyleAvailable | IsStyleAvailable(p1) | bool IsStyleAvailable(FontStyle style) |
ToString | callMethod("ToString",[]) | string ToString() |
Graphics class sealed
System.Drawing.Graphics · assembly System.Drawing.Common
Implements: IDisposable, IDeviceContext
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Clip | Region | read, write | o.Clip o.Clip = v |
ClipBounds | RectangleF | read | o.ClipBounds |
CompositingMode | CompositingMode | read, write | o.CompositingMode o.CompositingMode = v |
CompositingQuality | CompositingQuality | read, write | o.CompositingQuality o.CompositingQuality = v |
DpiX | float | read | o.DpiX |
DpiY | float | read | o.DpiY |
InterpolationMode | InterpolationMode | read, write | o.InterpolationMode o.InterpolationMode = v |
IsClipEmpty | bool | read | o.IsClipEmpty |
IsVisibleClipEmpty | bool | read | o.IsVisibleClipEmpty |
PageScale | float | read, write | o.PageScale o.PageScale = v |
PageUnit | GraphicsUnit | read, write | o.PageUnit o.PageUnit = v |
PixelOffsetMode | PixelOffsetMode | read, write | o.PixelOffsetMode o.PixelOffsetMode = v |
RenderingOrigin | Point | read, write | o.RenderingOrigin o.RenderingOrigin = v |
SmoothingMode | SmoothingMode | read, write | o.SmoothingMode o.SmoothingMode = v |
TextContrast | int | read, write | o.TextContrast o.TextContrast = v |
TextRenderingHint | TextRenderingHint | read, write | o.TextRenderingHint o.TextRenderingHint = v |
Transform | Matrix | read, write | o.Transform o.Transform = v |
TransformElements | Matrix3x2 | read, write | o.TransformElements o.TransformElements = v |
VisibleClipBounds | RectangleF | read | o.VisibleClipBounds |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddMetafileComment | AddMetafileComment(p1) | void AddMetafileComment(byte[] data) |
BeginContainer | BeginContainer(NULL)BeginContainer([ :dstrect = …, :srcrect = …, :unit = … ]) | GraphicsContainer BeginContainer(RectangleF dstrect, RectangleF srcrect, GraphicsUnit unit)GraphicsContainer BeginContainer()GraphicsContainer BeginContainer(Rectangle dstrect, Rectangle srcrect, GraphicsUnit unit) |
Clear | Clear(p1) | void Clear(Color color) |
CopyFromScreen | CopyFromScreen([ :upperLeftSource = …, :upperLeftDestination = …, :blockRegionSize = … ])CopyFromScreen([ :upperLeftSource = …, :upperLeftDestination = …, :blockRegionSize = …, :copyPixelOperation = … ])CopyFromScreen([ :sourceX = …, :sourceY = …, :destinationX = …, :destinationY = …, :blockRegionSize = … ])CopyFromScreen([ :sourceX = …, :sourceY = …, :destinationX = …, :destinationY = …, :blockRegionSize = …, :copyPixelOperation = … ]) | void CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize)void CopyFromScreen(int sourceX, int sourceY, int destinationX, int destinationY, Size blockRegionSize)void CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize, CopyPixelOperation copyPixelOperation)void CopyFromScreen(int sourceX, int sourceY, int destinationX, int destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation) |
Dispose | callMethod("Dispose",[]) | void Dispose() |
DrawArc | DrawArc([ :pen = …, :rect = …, :startAngle = …, :sweepAngle = … ])DrawArc([ :pen = …, :x = …, :y = …, :width = …, :height = …, :startAngle = …, :sweepAngle = … ]) | void DrawArc(Pen pen, float x, float y, float width, float height, float startAngle, float sweepAngle)void DrawArc(Pen pen, RectangleF rect, float startAngle, float sweepAngle)void DrawArc(Pen pen, int x, int y, int width, int height, int startAngle, int sweepAngle)void DrawArc(Pen pen, Rectangle rect, float startAngle, float sweepAngle) |
DrawBezier | DrawBezier([ :pen = …, :pt1 = …, :pt2 = …, :pt3 = …, :pt4 = … ])DrawBezier([ :pen = …, :x1 = …, :y1 = …, :x2 = …, :y2 = …, :x3 = …, :y3 = …, :x4 = …, :y4 = … ]) | void DrawBezier(Pen pen, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)void DrawBezier(Pen pen, PointF pt1, PointF pt2, PointF pt3, PointF pt4)void DrawBezier(Pen pen, Point pt1, Point pt2, Point pt3, Point pt4) |
DrawBeziers | DrawBeziers(p1,p2) | void DrawBeziers(Pen pen, PointF[] points)void DrawBeziers(Pen pen, ReadOnlySpan<PointF> points)void DrawBeziers(Pen pen, Point[] points)void DrawBeziers(Pen pen, ReadOnlySpan<Point> points) |
DrawCachedBitmap | DrawCachedBitmap(p1,p2,p3) | void DrawCachedBitmap(CachedBitmap cachedBitmap, int x, int y) |
DrawClosedCurve | DrawClosedCurve([ :pen = …, :points = … ])DrawClosedCurve([ :pen = …, :points = …, :tension = …, :fillmode = … ]) | void DrawClosedCurve(Pen pen, PointF[] points)void DrawClosedCurve(Pen pen, ReadOnlySpan<PointF> points)void DrawClosedCurve(Pen pen, PointF[] points, float tension, FillMode fillmode)void DrawClosedCurve(Pen pen, ReadOnlySpan<PointF> points, float tension, FillMode fillmode)void DrawClosedCurve(Pen pen, Point[] points)void DrawClosedCurve(Pen pen, ReadOnlySpan<Point> points)void DrawClosedCurve(Pen pen, Point[] points, float tension, FillMode fillmode)void DrawClosedCurve(Pen pen, ReadOnlySpan<Point> points, float tension, FillMode fillmode) |
DrawCurve | DrawCurve([ :pen = …, :points = … ])DrawCurve([ :pen = …, :points = …, :tension = … ])DrawCurve([ :pen = …, :points = …, :offset = …, :numberOfSegments = … ])DrawCurve([ :pen = …, :points = …, :offset = …, :numberOfSegments = …, :tension = … ]) | void DrawCurve(Pen pen, PointF[] points)void DrawCurve(Pen pen, ReadOnlySpan<PointF> points)void DrawCurve(Pen pen, PointF[] points, float tension)void DrawCurve(Pen pen, ReadOnlySpan<PointF> points, float tension)void DrawCurve(Pen pen, PointF[] points, int offset, int numberOfSegments)void DrawCurve(Pen pen, ReadOnlySpan<PointF> points, int offset, int numberOfSegments)void DrawCurve(Pen pen, PointF[] points, int offset, int numberOfSegments, float tension)void DrawCurve(Pen pen, ReadOnlySpan<PointF> points, int offset, int numberOfSegments, float tension)void DrawCurve(Pen pen, Point[] points)void DrawCurve(Pen pen, ReadOnlySpan<Point> points)void DrawCurve(Pen pen, Point[] points, float tension)void DrawCurve(Pen pen, ReadOnlySpan<Point> points, float tension)void DrawCurve(Pen pen, Point[] points, int offset, int numberOfSegments, float tension)void DrawCurve(Pen pen, ReadOnlySpan<Point> points, int offset, int numberOfSegments, float tension) |
DrawEllipse | DrawEllipse([ :pen = …, :rect = … ])DrawEllipse([ :pen = …, :x = …, :y = …, :width = …, :height = … ]) | void DrawEllipse(Pen pen, RectangleF rect)void DrawEllipse(Pen pen, float x, float y, float width, float height)void DrawEllipse(Pen pen, Rectangle rect)void DrawEllipse(Pen pen, int x, int y, int width, int height) |
DrawIcon | DrawIcon([ :icon = …, :targetRect = … ])DrawIcon([ :icon = …, :x = …, :y = … ]) | void DrawIcon(Icon icon, int x, int y)void DrawIcon(Icon icon, Rectangle targetRect) |
DrawIconUnstretched | DrawIconUnstretched(p1,p2) | void DrawIconUnstretched(Icon icon, Rectangle targetRect) |
DrawImage | DrawImage([ :image = …, :point = … ])DrawImage([ :image = …, :rect = … ])DrawImage([ :image = …, :destPoints = … ])DrawImage([ :image = …, :effect = … ]) | void DrawImage(Image image, PointF point)void DrawImage(Image image, float x, float y)void DrawImage(Image image, RectangleF rect)void DrawImage(Image image, float x, float y, float width, float height)void DrawImage(Image image, Point point)void DrawImage(Image image, int x, int y)void DrawImage(Image image, Rectangle rect)void DrawImage(Image image, int x, int y, int width, int height)void DrawImage(Image image, PointF[] destPoints)void DrawImage(Image image, Point[] destPoints)void DrawImage(Image image, float x, float y, RectangleF srcRect, GraphicsUnit srcUnit)void DrawImage(Image image, int x, int y, Rectangle srcRect, GraphicsUnit srcUnit)void DrawImage(Image image, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit)void DrawImage(Image image, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit)void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit)void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr)void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, Graphics.DrawImageAbort callback)void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, Graphics.DrawImageAbort callback, int callbackData)void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit)void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr)void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, Graphics.DrawImageAbort callback)void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, Graphics.DrawImageAbort callback, int callbackData)void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit)void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs)void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, Graphics.DrawImageAbort callback)void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, Graphics.DrawImageAbort callback, IntPtr callbackData)void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit)void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr)void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, Graphics.DrawImageAbort callback)void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, Graphics.DrawImageAbort callback, IntPtr callbackData)void DrawImage(Image image, Effect effect)void DrawImage(Image image, Effect effect, RectangleF srcRect = …, Matrix transform = …, GraphicsUnit srcUnit = …, ImageAttributes imageAttr = …) |
DrawImageUnscaled | DrawImageUnscaled([ :image = …, :point = … ])DrawImageUnscaled([ :image = …, :rect = … ])DrawImageUnscaled([ :image = …, :x = …, :y = … ])DrawImageUnscaled([ :image = …, :x = …, :y = …, :width = …, :height = … ]) | void DrawImageUnscaled(Image image, Point point)void DrawImageUnscaled(Image image, int x, int y)void DrawImageUnscaled(Image image, Rectangle rect)void DrawImageUnscaled(Image image, int x, int y, int width, int height) |
DrawImageUnscaledAndClipped | DrawImageUnscaledAndClipped(p1,p2) | void DrawImageUnscaledAndClipped(Image image, Rectangle rect) |
DrawLine | DrawLine([ :pen = …, :pt1 = …, :pt2 = … ])DrawLine([ :pen = …, :x1 = …, :y1 = …, :x2 = …, :y2 = … ]) | void DrawLine(Pen pen, PointF pt1, PointF pt2)void DrawLine(Pen pen, int x1, int y1, int x2, int y2)void DrawLine(Pen pen, Point pt1, Point pt2)void DrawLine(Pen pen, float x1, float y1, float x2, float y2) |
DrawLines | DrawLines(p1,p2) | void DrawLines(Pen pen, PointF[] points)void DrawLines(Pen pen, ReadOnlySpan<PointF> points)void DrawLines(Pen pen, Point[] points)void DrawLines(Pen pen, ReadOnlySpan<Point> points) |
DrawPath | DrawPath(p1,p2) | void DrawPath(Pen pen, GraphicsPath path) |
DrawPie | DrawPie([ :pen = …, :rect = …, :startAngle = …, :sweepAngle = … ])DrawPie([ :pen = …, :x = …, :y = …, :width = …, :height = …, :startAngle = …, :sweepAngle = … ]) | void DrawPie(Pen pen, RectangleF rect, float startAngle, float sweepAngle)void DrawPie(Pen pen, float x, float y, float width, float height, float startAngle, float sweepAngle)void DrawPie(Pen pen, Rectangle rect, float startAngle, float sweepAngle)void DrawPie(Pen pen, int x, int y, int width, int height, int startAngle, int sweepAngle) |
DrawPolygon | DrawPolygon(p1,p2) | void DrawPolygon(Pen pen, PointF[] points)void DrawPolygon(Pen pen, ReadOnlySpan<PointF> points)void DrawPolygon(Pen pen, Point[] points)void DrawPolygon(Pen pen, ReadOnlySpan<Point> points) |
DrawRectangle | DrawRectangle([ :pen = …, :rect = … ])DrawRectangle([ :pen = …, :x = …, :y = …, :width = …, :height = … ]) | void DrawRectangle(Pen pen, RectangleF rect)void DrawRectangle(Pen pen, Rectangle rect)void DrawRectangle(Pen pen, float x, float y, float width, float height)void DrawRectangle(Pen pen, int x, int y, int width, int height) |
DrawRectangles | DrawRectangles(p1,p2) | void DrawRectangles(Pen pen, RectangleF[] rects)void DrawRectangles(Pen pen, ReadOnlySpan<RectangleF> rects)void DrawRectangles(Pen pen, Rectangle[] rects)void DrawRectangles(Pen pen, ReadOnlySpan<Rectangle> rects) |
DrawRoundedRectangle | DrawRoundedRectangle(p1,p2,p3) | void DrawRoundedRectangle(Pen pen, Rectangle rect, Size radius)void DrawRoundedRectangle(Pen pen, RectangleF rect, SizeF radius) |
DrawString | DrawString([ :s = …, :font = …, :brush = …, :point = … ])DrawString([ :s = …, :font = …, :brush = …, :layoutRectangle = … ])DrawString([ :s = …, :font = …, :brush = …, :x = …, :y = … ])DrawString([ :s = …, :font = …, :brush = …, :point = …, :format = … ]) | void DrawString(string s, Font font, Brush brush, float x, float y)void DrawString(ReadOnlySpan<char> s, Font font, Brush brush, float x, float y)void DrawString(string s, Font font, Brush brush, PointF point)void DrawString(ReadOnlySpan<char> s, Font font, Brush brush, PointF point)void DrawString(string s, Font font, Brush brush, float x, float y, StringFormat format)void DrawString(ReadOnlySpan<char> s, Font font, Brush brush, float x, float y, StringFormat format)void DrawString(string s, Font font, Brush brush, PointF point, StringFormat format)void DrawString(ReadOnlySpan<char> s, Font font, Brush brush, PointF point, StringFormat format)void DrawString(string s, Font font, Brush brush, RectangleF layoutRectangle)void DrawString(ReadOnlySpan<char> s, Font font, Brush brush, RectangleF layoutRectangle)void DrawString(string s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)void DrawString(ReadOnlySpan<char> s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format) |
EndContainer | EndContainer(p1) | void EndContainer(GraphicsContainer container) |
EnumerateMetafile | EnumerateMetafile([ :metafile = …, :destPoint = …, :callback = … ])EnumerateMetafile([ :metafile = …, :destRect = …, :callback = … ])EnumerateMetafile([ :metafile = …, :destPoints = …, :callback = … ])EnumerateMetafile([ :metafile = …, :destPoint = …, :callback = …, :callbackData = … ]) | void EnumerateMetafile(Metafile metafile, PointF destPoint, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, PointF destPoint, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, Point destPoint, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, Point destPoint, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, RectangleF destRect, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, RectangleF destRect, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, Rectangle destRect, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, Rectangle destRect, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, PointF[] destPoints, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, PointF[] destPoints, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, Point[] destPoints, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, Point[] destPoints, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback)void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData)void EnumerateMetafile(Metafile metafile, PointF destPoint, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, Point destPoint, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, RectangleF destRect, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, Rectangle destRect, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, PointF[] destPoints, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, Point[] destPoints, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, GraphicsUnit unit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, GraphicsUnit unit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, GraphicsUnit unit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, GraphicsUnit unit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, GraphicsUnit unit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, GraphicsUnit unit, Graphics.EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr) |
ExcludeClip | ExcludeClip(p1) | void ExcludeClip(Rectangle rect)void ExcludeClip(Region region) |
FillClosedCurve | FillClosedCurve([ :brush = …, :points = … ])FillClosedCurve([ :brush = …, :points = …, :fillmode = … ])FillClosedCurve([ :brush = …, :points = …, :fillmode = …, :tension = … ]) | void FillClosedCurve(Brush brush, PointF[] points)void FillClosedCurve(Brush brush, ReadOnlySpan<PointF> points)void FillClosedCurve(Brush brush, PointF[] points, FillMode fillmode)void FillClosedCurve(Brush brush, ReadOnlySpan<PointF> points, FillMode fillmode)void FillClosedCurve(Brush brush, PointF[] points, FillMode fillmode, float tension)void FillClosedCurve(Brush brush, ReadOnlySpan<PointF> points, FillMode fillmode, float tension)void FillClosedCurve(Brush brush, Point[] points)void FillClosedCurve(Brush brush, ReadOnlySpan<Point> points)void FillClosedCurve(Brush brush, Point[] points, FillMode fillmode)void FillClosedCurve(Brush brush, ReadOnlySpan<Point> points, FillMode fillmode)void FillClosedCurve(Brush brush, Point[] points, FillMode fillmode, float tension)void FillClosedCurve(Brush brush, ReadOnlySpan<Point> points, FillMode fillmode, float tension) |
FillEllipse | FillEllipse([ :brush = …, :rect = … ])FillEllipse([ :brush = …, :x = …, :y = …, :width = …, :height = … ]) | void FillEllipse(Brush brush, RectangleF rect)void FillEllipse(Brush brush, float x, float y, float width, float height)void FillEllipse(Brush brush, Rectangle rect)void FillEllipse(Brush brush, int x, int y, int width, int height) |
FillPath | FillPath(p1,p2) | void FillPath(Brush brush, GraphicsPath path) |
FillPie | FillPie([ :brush = …, :rect = …, :startAngle = …, :sweepAngle = … ])FillPie([ :brush = …, :x = …, :y = …, :width = …, :height = …, :startAngle = …, :sweepAngle = … ]) | void FillPie(Brush brush, Rectangle rect, float startAngle, float sweepAngle)void FillPie(Brush brush, RectangleF rect, float startAngle, float sweepAngle)void FillPie(Brush brush, float x, float y, float width, float height, float startAngle, float sweepAngle)void FillPie(Brush brush, int x, int y, int width, int height, int startAngle, int sweepAngle) |
FillPolygon | FillPolygon([ :brush = …, :points = … ])FillPolygon([ :brush = …, :points = …, :fillMode = … ]) | void FillPolygon(Brush brush, PointF[] points)void FillPolygon(Brush brush, ReadOnlySpan<PointF> points)void FillPolygon(Brush brush, PointF[] points, FillMode fillMode)void FillPolygon(Brush brush, ReadOnlySpan<PointF> points, FillMode fillMode)void FillPolygon(Brush brush, Point[] points)void FillPolygon(Brush brush, ReadOnlySpan<Point> points)void FillPolygon(Brush brush, Point[] points, FillMode fillMode)void FillPolygon(Brush brush, ReadOnlySpan<Point> points, FillMode fillMode) |
FillRectangle | FillRectangle([ :brush = …, :rect = … ])FillRectangle([ :brush = …, :x = …, :y = …, :width = …, :height = … ]) | void FillRectangle(Brush brush, RectangleF rect)void FillRectangle(Brush brush, float x, float y, float width, float height)void FillRectangle(Brush brush, Rectangle rect)void FillRectangle(Brush brush, int x, int y, int width, int height) |
FillRectangles | FillRectangles(p1,p2) | void FillRectangles(Brush brush, RectangleF[] rects)void FillRectangles(Brush brush, ReadOnlySpan<RectangleF> rects)void FillRectangles(Brush brush, Rectangle[] rects)void FillRectangles(Brush brush, ReadOnlySpan<Rectangle> rects) |
FillRegion | FillRegion(p1,p2) | void FillRegion(Brush brush, Region region) |
FillRoundedRectangle | FillRoundedRectangle(p1,p2,p3) | void FillRoundedRectangle(Brush brush, Rectangle rect, Size radius)void FillRoundedRectangle(Brush brush, RectangleF rect, SizeF radius) |
Flush | callMethod("Flush",[])callMethod("Flush",[p1]) | void Flush()void Flush(FlushIntention intention) |
FromHdc | FromHdc(value)FromHdc([ :hdc = … ])FromHdc([ :hdc = …, :hdevice = … ]) | static Graphics FromHdc(IntPtr hdc)static Graphics FromHdc(IntPtr hdc, IntPtr hdevice) |
FromHdcInternal | FromHdcInternal(p1) | static Graphics FromHdcInternal(IntPtr hdc) |
FromHwnd | FromHwnd(p1) | static Graphics FromHwnd(IntPtr hwnd) |
FromHwndInternal | FromHwndInternal(p1) | static Graphics FromHwndInternal(IntPtr hwnd) |
FromImage | FromImage(p1) | static Graphics FromImage(Image image) |
GetContextInfo | callMethod("GetContextInfo",[])callMethod("GetContextInfo",[p1])callMethod("GetContextInfo",[p1,p2]) | object GetContextInfo()void GetContextInfo(out PointF offset)void GetContextInfo(out PointF offset, out Region clip) |
GetHalftonePalette | GetHalftonePalette() | static IntPtr GetHalftonePalette() |
GetHdc | callMethod("GetHdc",[]) | IntPtr GetHdc() |
GetNearestColor | callMethod("GetNearestColor",[p1]) | Color GetNearestColor(Color color) |
IntersectClip | IntersectClip(p1) | void IntersectClip(Rectangle rect)void IntersectClip(RectangleF rect)void IntersectClip(Region region) |
IsVisible | callMethod("IsVisible",[p1])callMethod("IsVisible",[p1,p2])callMethod("IsVisible",[p1,p2,p3,p4]) | bool IsVisible(int x, int y)bool IsVisible(Point point)bool IsVisible(float x, float y)bool IsVisible(PointF point)bool IsVisible(int x, int y, int width, int height)bool IsVisible(Rectangle rect)bool IsVisible(float x, float y, float width, float height)bool IsVisible(RectangleF rect) |
MeasureCharacterRanges | callMethod("MeasureCharacterRanges",[p1,p2,p3,p4]) | Region[] MeasureCharacterRanges(string text, Font font, RectangleF layoutRect, StringFormat stringFormat)Region[] MeasureCharacterRanges(ReadOnlySpan<char> text, Font font, RectangleF layoutRect, StringFormat stringFormat) |
MeasureString | MeasureString([ :text = …, :font = … ])MeasureString([ :text = …, :font = …, :layoutArea = … ])MeasureString([ :text = …, :font = …, :width = … ])MeasureString([ :text = …, :font = …, :origin = …, :stringFormat = … ]) | SizeF MeasureString(string text, Font font, SizeF layoutArea, StringFormat stringFormat, out int charactersFitted, out int linesFilled)SizeF MeasureString(ReadOnlySpan<char> text, Font font, SizeF layoutArea, StringFormat stringFormat, out int charactersFitted, out int linesFilled)SizeF MeasureString(string text, Font font, PointF origin, StringFormat stringFormat)SizeF MeasureString(ReadOnlySpan<char> text, Font font, PointF origin, StringFormat stringFormat)SizeF MeasureString(string text, Font font, SizeF layoutArea)SizeF MeasureString(ReadOnlySpan<char> text, Font font, SizeF layoutArea)SizeF MeasureString(string text, Font font, SizeF layoutArea, StringFormat stringFormat)SizeF MeasureString(ReadOnlySpan<char> text, Font font, SizeF layoutArea, StringFormat stringFormat)SizeF MeasureString(string text, Font font)SizeF MeasureString(ReadOnlySpan<char> text, Font font)SizeF MeasureString(string text, Font font, int width)SizeF MeasureString(ReadOnlySpan<char> text, Font font, int width)SizeF MeasureString(string text, Font font, int width, StringFormat format)SizeF MeasureString(ReadOnlySpan<char> text, Font font, int width, StringFormat format) |
MeasureStringInternal | MeasureStringInternal(p1,p2,p3,p4) | SizeF MeasureStringInternal(ReadOnlySpan<char> text, Font font, RectangleF layoutArea, StringFormat stringFormat, out int charactersFitted, out int linesFilled) |
MultiplyTransform | callMethod("MultiplyTransform",[p1])callMethod("MultiplyTransform",[p1,p2]) | void MultiplyTransform(Matrix matrix)void MultiplyTransform(Matrix matrix, MatrixOrder order) |
ReleaseHdc | callMethod("ReleaseHdc",[])callMethod("ReleaseHdc",[p1]) | void ReleaseHdc(IntPtr hdc)void ReleaseHdc() |
ReleaseHdcInternal | ReleaseHdcInternal(p1) | void ReleaseHdcInternal(IntPtr hdc) |
ResetClip | callMethod("ResetClip",[]) | void ResetClip() |
ResetTransform | callMethod("ResetTransform",[]) | void ResetTransform() |
Restore | Restore(p1) | void Restore(GraphicsState gstate) |
RotateTransform | callMethod("RotateTransform",[p1])callMethod("RotateTransform",[p1,p2]) | void RotateTransform(float angle)void RotateTransform(float angle, MatrixOrder order) |
Save | callMethod("Save",[]) | GraphicsState Save() |
ScaleTransform | ScaleTransform([ :sx = …, :sy = … ])ScaleTransform([ :sx = …, :sy = …, :order = … ]) | void ScaleTransform(float sx, float sy)void ScaleTransform(float sx, float sy, MatrixOrder order) |
SetClip | callMethod("SetClip",[p1])callMethod("SetClip",[p1,p2]) | void SetClip(Graphics g)void SetClip(Graphics g, CombineMode combineMode)void SetClip(Rectangle rect)void SetClip(Rectangle rect, CombineMode combineMode)void SetClip(RectangleF rect)void SetClip(RectangleF rect, CombineMode combineMode)void SetClip(GraphicsPath path)void SetClip(GraphicsPath path, CombineMode combineMode)void SetClip(Region region, CombineMode combineMode) |
TransformPoints | TransformPoints(p1,p2,p3) | void TransformPoints(CoordinateSpace destSpace, CoordinateSpace srcSpace, PointF[] pts)void TransformPoints(CoordinateSpace destSpace, CoordinateSpace srcSpace, ReadOnlySpan<PointF> pts)void TransformPoints(CoordinateSpace destSpace, CoordinateSpace srcSpace, Point[] pts)void TransformPoints(CoordinateSpace destSpace, CoordinateSpace srcSpace, ReadOnlySpan<Point> pts) |
TranslateClip | callMethod("TranslateClip",[p1,p2]) | void TranslateClip(float dx, float dy)void TranslateClip(int dx, int dy) |
TranslateTransform | TranslateTransform([ :dx = …, :dy = … ])TranslateTransform([ :dx = …, :dy = …, :order = … ]) | void TranslateTransform(float dx, float dy)void TranslateTransform(float dx, float dy, MatrixOrder order) |
Icon class sealed
System.Drawing.Icon · assembly System.Drawing.Common
Implements: ICloneable, IDisposable, ISerializable
Constructors
new Icon(string fileName) |
new Icon(string fileName, Size size) |
new Icon(string fileName, int width, int height) |
new Icon(Icon original, Size size) |
new Icon(Icon original, int width, int height) |
new Icon(Type type, string resource) |
new Icon(Stream stream) |
new Icon(Stream stream, Size size) |
new Icon(Stream stream, int width, int height) |
Ring: new Icon(args) uses one constructor; the others are chosen by the parameter names: new Icon().@New([ :param = value ]) or dnNew("Icon",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Handle | IntPtr | read | o.Handle |
Height | int | read | o.Height |
Size | Size | read | o.Size |
Width | int | read | o.Width |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
ExtractAssociatedIcon | ExtractAssociatedIcon(p1) | static Icon ExtractAssociatedIcon(string filePath) |
ExtractIcon | ExtractIcon([ :filePath = …, :id = …, :size = … ])ExtractIcon([ :filePath = …, :id = …, :smallIcon = … ]) | static Icon ExtractIcon(string filePath, int id, int size)static Icon ExtractIcon(string filePath, int id, bool smallIcon = …) |
FromHandle | FromHandle(p1) | static Icon FromHandle(IntPtr handle) |
Save | Save(p1) | void Save(Stream outputStream) |
ToBitmap | callMethod("ToBitmap",[]) | Bitmap ToBitmap() |
ToString | callMethod("ToString",[]) | string ToString() |
IconConverter class · extends ExpandableObjectConverter
System.Drawing.IconConverter · assembly System.Drawing.Common
Constructors
new IconConverter() |
Ring: new IconConverter(args) uses one constructor; the others are chosen by the parameter names: new IconConverter().@New([ :param = value ]) or dnNew("IconConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
CanConvertTo | callMethod("CanConvertTo",[p1,p2]) | bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
ConvertTo | ConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ]) | object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
Members of the base class are inherited.
IDeviceContext interface
System.Drawing.IDeviceContext · assembly System.Drawing.Common
Implements: IDisposable
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetHdc | callMethod("GetHdc",[]) | IntPtr GetHdc() |
ReleaseHdc | callMethod("ReleaseHdc",[]) | void ReleaseHdc() |
Image class abstract
System.Drawing.Image · assembly System.Drawing.Common
Implements: IDisposable, ICloneable, ISerializable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Tag | object | read, write | o.Tag o.Tag = v |
PhysicalDimension | SizeF | read | o.PhysicalDimension |
Size | Size | read | o.Size |
Width | int | read | o.Width |
Height | int | read | o.Height |
HorizontalResolution | float | read | o.HorizontalResolution |
VerticalResolution | float | read | o.VerticalResolution |
Flags | int | read | o.Flags |
RawFormat | ImageFormat | read | o.RawFormat |
PixelFormat | PixelFormat | read | o.PixelFormat |
PropertyIdList | int[] | read | o.PropertyIdList |
PropertyItems | PropertyItem[] | read | o.PropertyItems |
Palette | ColorPalette | read, write | o.Palette o.Palette = v |
FrameDimensionsList | Guid[] | read | o.FrameDimensionsList |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
FromFile | FromFile(value)FromFile([ :filename = … ])FromFile([ :filename = …, :useEmbeddedColorManagement = … ]) | static Image FromFile(string filename)static Image FromFile(string filename, bool useEmbeddedColorManagement) |
FromHbitmap | FromHbitmap(value)FromHbitmap([ :hbitmap = … ])FromHbitmap([ :hbitmap = …, :hpalette = … ]) | static Bitmap FromHbitmap(IntPtr hbitmap)static Bitmap FromHbitmap(IntPtr hbitmap, IntPtr hpalette) |
FromStream | FromStream(value)FromStream([ :stream = … ])FromStream([ :stream = …, :useEmbeddedColorManagement = … ])FromStream([ :stream = …, :useEmbeddedColorManagement = …, :validateImageData = … ]) | static Image FromStream(Stream stream)static Image FromStream(Stream stream, bool useEmbeddedColorManagement)static Image FromStream(Stream stream, bool useEmbeddedColorManagement, bool validateImageData) |
GetBounds | GetBounds(p1) | RectangleF GetBounds(ref GraphicsUnit pageUnit) |
GetEncoderParameterList | callMethod("GetEncoderParameterList",[p1]) | EncoderParameters GetEncoderParameterList(Guid encoder) |
GetFrameCount | GetFrameCount(p1) | int GetFrameCount(FrameDimension dimension) |
GetPixelFormatSize | GetPixelFormatSize(p1) | static int GetPixelFormatSize(PixelFormat pixfmt) |
GetPropertyItem | callMethod("GetPropertyItem",[p1]) | PropertyItem GetPropertyItem(int propid) |
GetThumbnailImage | callMethod("GetThumbnailImage",[p1,p2,p3,p4]) | Image GetThumbnailImage(int thumbWidth, int thumbHeight, Image.GetThumbnailImageAbort callback, IntPtr callbackData) |
IsAlphaPixelFormat | IsAlphaPixelFormat(p1) | static bool IsAlphaPixelFormat(PixelFormat pixfmt) |
IsCanonicalPixelFormat | IsCanonicalPixelFormat(p1) | static bool IsCanonicalPixelFormat(PixelFormat pixfmt) |
IsExtendedPixelFormat | IsExtendedPixelFormat(p1) | static bool IsExtendedPixelFormat(PixelFormat pixfmt) |
RemovePropertyItem | callMethod("RemovePropertyItem",[p1]) | void RemovePropertyItem(int propid) |
RotateFlip | RotateFlip(p1) | void RotateFlip(RotateFlipType rotateFlipType) |
Save | callMethod("Save",[p1])callMethod("Save",[p1,p2])callMethod("Save",[p1,p2,p3]) | void Save(string filename)void Save(string filename, ImageFormat format)void Save(string filename, ImageCodecInfo encoder, EncoderParameters encoderParams)void Save(Stream stream, ImageFormat format)void Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams) |
SaveAdd | callMethod("SaveAdd",[p1])callMethod("SaveAdd",[p1,p2]) | void SaveAdd(EncoderParameters encoderParams)void SaveAdd(Image image, EncoderParameters encoderParams) |
SelectActiveFrame | SelectActiveFrame(p1,p2) | int SelectActiveFrame(FrameDimension dimension, int frameIndex) |
SetPropertyItem | SetPropertyItem(p1) | void SetPropertyItem(PropertyItem propitem) |
ImageAnimator class sealed
System.Drawing.ImageAnimator · assembly System.Drawing.Common
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Animate | Animate(p1,p2) | static void Animate(Image image, EventHandler onFrameChangedHandler) |
CanAnimate | CanAnimate(p1) | static bool CanAnimate(Image image) |
StopAnimate | StopAnimate(p1,p2) | static void StopAnimate(Image image, EventHandler onFrameChangedHandler) |
UpdateFrames | UpdateFrames(NULL)UpdateFrames(value)UpdateFrames([ :image = … ]) | static void UpdateFrames(Image image)static void UpdateFrames() |
ImageConverter class · extends TypeConverter
System.Drawing.ImageConverter · assembly System.Drawing.Common
Constructors
new ImageConverter() |
Ring: new ImageConverter(args) uses one constructor; the others are chosen by the parameter names: new ImageConverter().@New([ :param = value ]) or dnNew("ImageConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
CanConvertTo | callMethod("CanConvertTo",[p1,p2]) | bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
ConvertTo | ConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ]) | object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
GetProperties | GetProperties([ :context = …, :value = …, :attributes = … ]) | PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) |
GetPropertiesSupported | callMethod("GetPropertiesSupported",[p1]) | bool GetPropertiesSupported(ITypeDescriptorContext context) |
Members of the base class are inherited.
ImageFormatConverter class · extends TypeConverter
System.Drawing.ImageFormatConverter · assembly System.Drawing.Common
Constructors
new ImageFormatConverter() |
Ring: new ImageFormatConverter(args) uses one constructor; the others are chosen by the parameter names: new ImageFormatConverter().@New([ :param = value ]) or dnNew("ImageFormatConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
CanConvertTo | callMethod("CanConvertTo",[p1,p2]) | bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
ConvertTo | ConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ]) | object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
GetStandardValues | GetStandardValues(value)GetStandardValues([ :context = … ]) | TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) |
GetStandardValuesSupported | callMethod("GetStandardValuesSupported",[p1]) | bool GetStandardValuesSupported(ITypeDescriptorContext context) |
Members of the base class are inherited.
Pen class sealed
System.Drawing.Pen · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Constructors
new Pen(Color color) |
new Pen(Color color, float width) |
new Pen(Brush brush) |
new Pen(Brush brush, float width) |
Ring: new Pen(args) uses one constructor; the others are chosen by the parameter names: new Pen().@New([ :param = value ]) or dnNew("Pen",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Width | float | read, write | o.Width o.Width = v |
StartCap | LineCap | read, write | o.StartCap o.StartCap = v |
EndCap | LineCap | read, write | o.EndCap o.EndCap = v |
CustomStartCap | CustomLineCap | read, write | o.CustomStartCap o.CustomStartCap = v |
CustomEndCap | CustomLineCap | read, write | o.CustomEndCap o.CustomEndCap = v |
DashCap | DashCap | read, write | o.DashCap o.DashCap = v |
LineJoin | LineJoin | read, write | o.LineJoin o.LineJoin = v |
MiterLimit | float | read, write | o.MiterLimit o.MiterLimit = v |
Alignment | PenAlignment | read, write | o.Alignment o.Alignment = v |
Transform | Matrix | read, write | o.Transform o.Transform = v |
PenType | PenType | read | o.PenType |
Color | Color | read, write | o.Color o.Color = v |
Brush | Brush | read, write | o.Brush o.Brush = v |
DashStyle | DashStyle | read, write | o.DashStyle o.DashStyle = v |
DashOffset | float | read, write | o.DashOffset o.DashOffset = v |
DashPattern | float[] | read, write | o.DashPattern o.DashPattern = v |
CompoundArray | float[] | read, write | o.CompoundArray o.CompoundArray = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
MultiplyTransform | callMethod("MultiplyTransform",[p1])callMethod("MultiplyTransform",[p1,p2]) | void MultiplyTransform(Matrix matrix)void MultiplyTransform(Matrix matrix, MatrixOrder order) |
ResetTransform | callMethod("ResetTransform",[]) | void ResetTransform() |
RotateTransform | callMethod("RotateTransform",[p1])callMethod("RotateTransform",[p1,p2]) | void RotateTransform(float angle)void RotateTransform(float angle, MatrixOrder order) |
ScaleTransform | ScaleTransform([ :sx = …, :sy = … ])ScaleTransform([ :sx = …, :sy = …, :order = … ]) | void ScaleTransform(float sx, float sy)void ScaleTransform(float sx, float sy, MatrixOrder order) |
SetLineCap | SetLineCap(p1,p2,p3) | void SetLineCap(LineCap startCap, LineCap endCap, DashCap dashCap) |
TranslateTransform | TranslateTransform([ :dx = …, :dy = … ])TranslateTransform([ :dx = …, :dy = …, :order = … ]) | void TranslateTransform(float dx, float dy)void TranslateTransform(float dx, float dy, MatrixOrder order) |
Pens class static
System.Drawing.Pens · assembly System.Drawing.Common
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Transparent | Pen | read · static | o.Transparent |
AliceBlue | Pen | read · static | o.AliceBlue |
AntiqueWhite | Pen | read · static | o.AntiqueWhite |
Aqua | Pen | read · static | o.Aqua |
Aquamarine | Pen | read · static | o.Aquamarine |
Azure | Pen | read · static | o.Azure |
Beige | Pen | read · static | o.Beige |
Bisque | Pen | read · static | o.Bisque |
Black | Pen | read · static | o.Black |
BlanchedAlmond | Pen | read · static | o.BlanchedAlmond |
Blue | Pen | read · static | o.Blue |
BlueViolet | Pen | read · static | o.BlueViolet |
Brown | Pen | read · static | o.Brown |
BurlyWood | Pen | read · static | o.BurlyWood |
CadetBlue | Pen | read · static | o.CadetBlue |
Chartreuse | Pen | read · static | o.Chartreuse |
Chocolate | Pen | read · static | o.Chocolate |
Coral | Pen | read · static | o.Coral |
CornflowerBlue | Pen | read · static | o.CornflowerBlue |
Cornsilk | Pen | read · static | o.Cornsilk |
Crimson | Pen | read · static | o.Crimson |
Cyan | Pen | read · static | o.Cyan |
DarkBlue | Pen | read · static | o.DarkBlue |
DarkCyan | Pen | read · static | o.DarkCyan |
DarkGoldenrod | Pen | read · static | o.DarkGoldenrod |
DarkGray | Pen | read · static | o.DarkGray |
DarkGreen | Pen | read · static | o.DarkGreen |
DarkKhaki | Pen | read · static | o.DarkKhaki |
DarkMagenta | Pen | read · static | o.DarkMagenta |
DarkOliveGreen | Pen | read · static | o.DarkOliveGreen |
DarkOrange | Pen | read · static | o.DarkOrange |
DarkOrchid | Pen | read · static | o.DarkOrchid |
DarkRed | Pen | read · static | o.DarkRed |
DarkSalmon | Pen | read · static | o.DarkSalmon |
DarkSeaGreen | Pen | read · static | o.DarkSeaGreen |
DarkSlateBlue | Pen | read · static | o.DarkSlateBlue |
DarkSlateGray | Pen | read · static | o.DarkSlateGray |
DarkTurquoise | Pen | read · static | o.DarkTurquoise |
DarkViolet | Pen | read · static | o.DarkViolet |
DeepPink | Pen | read · static | o.DeepPink |
DeepSkyBlue | Pen | read · static | o.DeepSkyBlue |
DimGray | Pen | read · static | o.DimGray |
DodgerBlue | Pen | read · static | o.DodgerBlue |
Firebrick | Pen | read · static | o.Firebrick |
FloralWhite | Pen | read · static | o.FloralWhite |
ForestGreen | Pen | read · static | o.ForestGreen |
Fuchsia | Pen | read · static | o.Fuchsia |
Gainsboro | Pen | read · static | o.Gainsboro |
GhostWhite | Pen | read · static | o.GhostWhite |
Gold | Pen | read · static | o.Gold |
Goldenrod | Pen | read · static | o.Goldenrod |
Gray | Pen | read · static | o.Gray |
Green | Pen | read · static | o.Green |
GreenYellow | Pen | read · static | o.GreenYellow |
Honeydew | Pen | read · static | o.Honeydew |
HotPink | Pen | read · static | o.HotPink |
IndianRed | Pen | read · static | o.IndianRed |
Indigo | Pen | read · static | o.Indigo |
Ivory | Pen | read · static | o.Ivory |
Khaki | Pen | read · static | o.Khaki |
Lavender | Pen | read · static | o.Lavender |
LavenderBlush | Pen | read · static | o.LavenderBlush |
LawnGreen | Pen | read · static | o.LawnGreen |
LemonChiffon | Pen | read · static | o.LemonChiffon |
LightBlue | Pen | read · static | o.LightBlue |
LightCoral | Pen | read · static | o.LightCoral |
LightCyan | Pen | read · static | o.LightCyan |
LightGoldenrodYellow | Pen | read · static | o.LightGoldenrodYellow |
LightGreen | Pen | read · static | o.LightGreen |
LightGray | Pen | read · static | o.LightGray |
LightPink | Pen | read · static | o.LightPink |
LightSalmon | Pen | read · static | o.LightSalmon |
LightSeaGreen | Pen | read · static | o.LightSeaGreen |
LightSkyBlue | Pen | read · static | o.LightSkyBlue |
LightSlateGray | Pen | read · static | o.LightSlateGray |
LightSteelBlue | Pen | read · static | o.LightSteelBlue |
LightYellow | Pen | read · static | o.LightYellow |
Lime | Pen | read · static | o.Lime |
LimeGreen | Pen | read · static | o.LimeGreen |
Linen | Pen | read · static | o.Linen |
Magenta | Pen | read · static | o.Magenta |
Maroon | Pen | read · static | o.Maroon |
MediumAquamarine | Pen | read · static | o.MediumAquamarine |
MediumBlue | Pen | read · static | o.MediumBlue |
MediumOrchid | Pen | read · static | o.MediumOrchid |
MediumPurple | Pen | read · static | o.MediumPurple |
MediumSeaGreen | Pen | read · static | o.MediumSeaGreen |
MediumSlateBlue | Pen | read · static | o.MediumSlateBlue |
MediumSpringGreen | Pen | read · static | o.MediumSpringGreen |
MediumTurquoise | Pen | read · static | o.MediumTurquoise |
MediumVioletRed | Pen | read · static | o.MediumVioletRed |
MidnightBlue | Pen | read · static | o.MidnightBlue |
MintCream | Pen | read · static | o.MintCream |
MistyRose | Pen | read · static | o.MistyRose |
Moccasin | Pen | read · static | o.Moccasin |
NavajoWhite | Pen | read · static | o.NavajoWhite |
Navy | Pen | read · static | o.Navy |
OldLace | Pen | read · static | o.OldLace |
Olive | Pen | read · static | o.Olive |
OliveDrab | Pen | read · static | o.OliveDrab |
Orange | Pen | read · static | o.Orange |
OrangeRed | Pen | read · static | o.OrangeRed |
Orchid | Pen | read · static | o.Orchid |
PaleGoldenrod | Pen | read · static | o.PaleGoldenrod |
PaleGreen | Pen | read · static | o.PaleGreen |
PaleTurquoise | Pen | read · static | o.PaleTurquoise |
PaleVioletRed | Pen | read · static | o.PaleVioletRed |
PapayaWhip | Pen | read · static | o.PapayaWhip |
PeachPuff | Pen | read · static | o.PeachPuff |
Peru | Pen | read · static | o.Peru |
Pink | Pen | read · static | o.Pink |
Plum | Pen | read · static | o.Plum |
PowderBlue | Pen | read · static | o.PowderBlue |
Purple | Pen | read · static | o.Purple |
Red | Pen | read · static | o.Red |
RosyBrown | Pen | read · static | o.RosyBrown |
RoyalBlue | Pen | read · static | o.RoyalBlue |
SaddleBrown | Pen | read · static | o.SaddleBrown |
Salmon | Pen | read · static | o.Salmon |
SandyBrown | Pen | read · static | o.SandyBrown |
SeaGreen | Pen | read · static | o.SeaGreen |
SeaShell | Pen | read · static | o.SeaShell |
Sienna | Pen | read · static | o.Sienna |
Silver | Pen | read · static | o.Silver |
SkyBlue | Pen | read · static | o.SkyBlue |
SlateBlue | Pen | read · static | o.SlateBlue |
SlateGray | Pen | read · static | o.SlateGray |
Snow | Pen | read · static | o.Snow |
SpringGreen | Pen | read · static | o.SpringGreen |
SteelBlue | Pen | read · static | o.SteelBlue |
Tan | Pen | read · static | o.Tan |
Teal | Pen | read · static | o.Teal |
Thistle | Pen | read · static | o.Thistle |
Tomato | Pen | read · static | o.Tomato |
Turquoise | Pen | read · static | o.Turquoise |
Violet | Pen | read · static | o.Violet |
Wheat | Pen | read · static | o.Wheat |
White | Pen | read · static | o.White |
WhiteSmoke | Pen | read · static | o.WhiteSmoke |
Yellow | Pen | read · static | o.Yellow |
YellowGreen | Pen | read · static | o.YellowGreen |
Point struct
System.Drawing.Point · assembly System.Drawing.Primitives
Constructors
new Point(int x, int y) |
new Point(Size sz) |
new Point(int dw) |
Ring: new Point(args) uses one constructor; the others are chosen by the parameter names: new Point().@New([ :param = value ]) or dnNew("Point",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsEmpty | bool | read | o.IsEmpty |
X | int | read, write | o.X o.X = v |
Y | int | read, write | o.Y o.Y = v |
Empty | Point | read · static | o.Empty |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1,p2) | static Point Add(Point pt, Size sz) |
Ceiling | Ceiling(p1) | static Point Ceiling(PointF value) |
Equals | Equals(p1) | bool Equals(object obj)bool Equals(Point other) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Offset | callMethod("Offset",[p1])callMethod("Offset",[p1,p2]) | void Offset(int dx, int dy)void Offset(Point p) |
Round | Round(p1) | static Point Round(PointF value) |
Subtract | Subtract(p1,p2) | static Point Subtract(Point pt, Size sz) |
ToString | callMethod("ToString",[]) | string ToString() |
Truncate | Truncate(p1) | static Point Truncate(PointF value) |
PointConverter class · extends TypeConverter
System.Drawing.PointConverter · assembly System.ComponentModel.TypeConverter
Constructors
new PointConverter() |
Ring: new PointConverter(args) uses one constructor; the others are chosen by the parameter names: new PointConverter().@New([ :param = value ]) or dnNew("PointConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
CanConvertTo | callMethod("CanConvertTo",[p1,p2]) | bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
ConvertTo | ConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ]) | object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
CreateInstance | CreateInstance([ :context = …, :propertyValues = … ]) | object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues) |
GetCreateInstanceSupported | callMethod("GetCreateInstanceSupported",[p1]) | bool GetCreateInstanceSupported(ITypeDescriptorContext context) |
GetProperties | GetProperties([ :context = …, :value = …, :attributes = … ]) | PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) |
GetPropertiesSupported | callMethod("GetPropertiesSupported",[p1]) | bool GetPropertiesSupported(ITypeDescriptorContext context) |
Members of the base class are inherited.
PointF struct
System.Drawing.PointF · assembly System.Drawing.Primitives
Constructors
new PointF(float x, float y) |
new PointF(Vector2 vector) |
Ring: new PointF(args) uses one constructor; the others are chosen by the parameter names: new PointF().@New([ :param = value ]) or dnNew("PointF",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsEmpty | bool | read | o.IsEmpty |
X | float | read, write | o.X o.X = v |
Y | float | read, write | o.Y o.Y = v |
Empty | PointF | read · static | o.Empty |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1,p2) | static PointF Add(PointF pt, Size sz)static PointF Add(PointF pt, SizeF sz) |
Equals | Equals(p1) | bool Equals(object obj)bool Equals(PointF other) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Subtract | Subtract(p1,p2) | static PointF Subtract(PointF pt, Size sz)static PointF Subtract(PointF pt, SizeF sz) |
ToString | callMethod("ToString",[]) | string ToString() |
ToVector2 | callMethod("ToVector2",[]) | Vector2 ToVector2() |
Rectangle struct
System.Drawing.Rectangle · assembly System.Drawing.Primitives
Constructors
new Rectangle(int x, int y, int width, int height) |
new Rectangle(Point location, Size size) |
Ring: new Rectangle(args) uses one constructor; the others are chosen by the parameter names: new Rectangle().@New([ :param = value ]) or dnNew("Rectangle",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Location | Point | read, write | o.Location o.Location = v |
Size | Size | read, write | o.Size o.Size = v |
X | int | read, write | o.X o.X = v |
Y | int | read, write | o.Y o.Y = v |
Width | int | read, write | o.Width o.Width = v |
Height | int | read, write | o.Height o.Height = v |
Left | int | read | o.Left |
Top | int | read | o.Top |
Right | int | read | o.Right |
Bottom | int | read | o.Bottom |
IsEmpty | bool | read | o.IsEmpty |
Empty | Rectangle | read · static | o.Empty |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Ceiling | Ceiling(p1) | static Rectangle Ceiling(RectangleF value) |
Contains | callMethod("Contains",[p1])callMethod("Contains",[p1,p2]) | bool Contains(int x, int y)bool Contains(Point pt)bool Contains(Rectangle rect) |
Equals | Equals(p1) | bool Equals(object obj)bool Equals(Rectangle other) |
FromLTRB | FromLTRB(p1,p2,p3,p4) | static Rectangle FromLTRB(int left, int top, int right, int bottom) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Inflate | Inflate(value)Inflate([ :size = … ])Inflate([ :width = …, :height = … ])Inflate([ :rect = …, :x = …, :y = … ]) | void Inflate(int width, int height)void Inflate(Size size)static Rectangle Inflate(Rectangle rect, int x, int y) |
Intersect | Intersect(value)Intersect([ :rect = … ])Intersect([ :a = …, :b = … ]) | void Intersect(Rectangle rect)static Rectangle Intersect(Rectangle a, Rectangle b) |
IntersectsWith | IntersectsWith(p1) | bool IntersectsWith(Rectangle rect) |
Offset | callMethod("Offset",[p1])callMethod("Offset",[p1,p2]) | void Offset(Point pos)void Offset(int x, int y) |
Round | Round(p1) | static Rectangle Round(RectangleF value) |
ToString | callMethod("ToString",[]) | string ToString() |
Truncate | Truncate(p1) | static Rectangle Truncate(RectangleF value) |
Union | Union(p1,p2) | static Rectangle Union(Rectangle a, Rectangle b) |
RectangleConverter class · extends TypeConverter
System.Drawing.RectangleConverter · assembly System.ComponentModel.TypeConverter
Constructors
new RectangleConverter() |
Ring: new RectangleConverter(args) uses one constructor; the others are chosen by the parameter names: new RectangleConverter().@New([ :param = value ]) or dnNew("RectangleConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
CanConvertTo | callMethod("CanConvertTo",[p1,p2]) | bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
ConvertTo | ConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ]) | object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
CreateInstance | CreateInstance([ :context = …, :propertyValues = … ]) | object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues) |
GetCreateInstanceSupported | callMethod("GetCreateInstanceSupported",[p1]) | bool GetCreateInstanceSupported(ITypeDescriptorContext context) |
GetProperties | GetProperties([ :context = …, :value = …, :attributes = … ]) | PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) |
GetPropertiesSupported | callMethod("GetPropertiesSupported",[p1]) | bool GetPropertiesSupported(ITypeDescriptorContext context) |
Members of the base class are inherited.
RectangleF struct
System.Drawing.RectangleF · assembly System.Drawing.Primitives
Constructors
new RectangleF(float x, float y, float width, float height) |
new RectangleF(PointF location, SizeF size) |
new RectangleF(Vector4 vector) |
Ring: new RectangleF(args) uses one constructor; the others are chosen by the parameter names: new RectangleF().@New([ :param = value ]) or dnNew("RectangleF",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Location | PointF | read, write | o.Location o.Location = v |
Size | SizeF | read, write | o.Size o.Size = v |
X | float | read, write | o.X o.X = v |
Y | float | read, write | o.Y o.Y = v |
Width | float | read, write | o.Width o.Width = v |
Height | float | read, write | o.Height o.Height = v |
Left | float | read | o.Left |
Top | float | read | o.Top |
Right | float | read | o.Right |
Bottom | float | read | o.Bottom |
IsEmpty | bool | read | o.IsEmpty |
Empty | RectangleF | read · static | o.Empty |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Contains | callMethod("Contains",[p1])callMethod("Contains",[p1,p2]) | bool Contains(float x, float y)bool Contains(PointF pt)bool Contains(RectangleF rect) |
Equals | Equals(p1) | bool Equals(object obj)bool Equals(RectangleF other) |
FromLTRB | FromLTRB(p1,p2,p3,p4) | static RectangleF FromLTRB(float left, float top, float right, float bottom) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Inflate | Inflate(value)Inflate([ :size = … ])Inflate([ :x = …, :y = … ])Inflate([ :rect = …, :x = …, :y = … ]) | void Inflate(float x, float y)void Inflate(SizeF size)static RectangleF Inflate(RectangleF rect, float x, float y) |
Intersect | Intersect(value)Intersect([ :rect = … ])Intersect([ :a = …, :b = … ]) | void Intersect(RectangleF rect)static RectangleF Intersect(RectangleF a, RectangleF b) |
IntersectsWith | IntersectsWith(p1) | bool IntersectsWith(RectangleF rect) |
Offset | callMethod("Offset",[p1])callMethod("Offset",[p1,p2]) | void Offset(PointF pos)void Offset(float x, float y) |
ToString | callMethod("ToString",[]) | string ToString() |
ToVector4 | callMethod("ToVector4",[]) | Vector4 ToVector4() |
Union | Union(p1,p2) | static RectangleF Union(RectangleF a, RectangleF b) |
Region class sealed
System.Drawing.Region · assembly System.Drawing.Common
Implements: IDisposable
Constructors
new Region() |
new Region(RectangleF rect) |
new Region(Rectangle rect) |
new Region(GraphicsPath path) |
new Region(RegionData rgnData) |
Ring: new Region(args) uses one constructor; the others are chosen by the parameter names: new Region().@New([ :param = value ]) or dnNew("Region",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | Region Clone() |
Complement | Complement(p1) | void Complement(RectangleF rect)void Complement(Rectangle rect)void Complement(GraphicsPath path)void Complement(Region region) |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Equals | Equals(p1) | bool Equals(Region region, Graphics g) |
Exclude | Exclude(p1) | void Exclude(RectangleF rect)void Exclude(Rectangle rect)void Exclude(GraphicsPath path)void Exclude(Region region) |
FromHrgn | FromHrgn(p1) | static Region FromHrgn(IntPtr hrgn) |
GetBounds | callMethod("GetBounds",[p1]) | RectangleF GetBounds(Graphics g) |
GetHrgn | callMethod("GetHrgn",[p1]) | IntPtr GetHrgn(Graphics g) |
GetRegionData | callMethod("GetRegionData",[]) | RegionData GetRegionData() |
GetRegionScans | callMethod("GetRegionScans",[p1]) | RectangleF[] GetRegionScans(Matrix matrix) |
Intersect | Intersect(p1) | void Intersect(RectangleF rect)void Intersect(Rectangle rect)void Intersect(GraphicsPath path)void Intersect(Region region) |
IsEmpty | IsEmpty(p1) | bool IsEmpty(Graphics g) |
IsInfinite | IsInfinite(p1) | bool IsInfinite(Graphics g) |
IsVisible | callMethod("IsVisible",[p1])callMethod("IsVisible",[p1,p2])callMethod("IsVisible",[p1,p2,p3])callMethod("IsVisible",[p1,p2,p3,p4])callMethod("IsVisible",[p1,p2,p3,p4,p5]) | bool IsVisible(float x, float y)bool IsVisible(PointF point)bool IsVisible(float x, float y, Graphics g)bool IsVisible(PointF point, Graphics g)bool IsVisible(float x, float y, float width, float height)bool IsVisible(RectangleF rect)bool IsVisible(float x, float y, float width, float height, Graphics g)bool IsVisible(RectangleF rect, Graphics g)bool IsVisible(int x, int y, Graphics g)bool IsVisible(Point point)bool IsVisible(Point point, Graphics g)bool IsVisible(int x, int y, int width, int height)bool IsVisible(Rectangle rect)bool IsVisible(int x, int y, int width, int height, Graphics g)bool IsVisible(Rectangle rect, Graphics g) |
MakeEmpty | callMethod("MakeEmpty",[]) | void MakeEmpty() |
MakeInfinite | callMethod("MakeInfinite",[]) | void MakeInfinite() |
ReleaseHrgn | ReleaseHrgn(p1) | void ReleaseHrgn(IntPtr regionHandle) |
Transform | Transform(p1) | void Transform(Matrix matrix) |
Translate | callMethod("Translate",[p1,p2]) | void Translate(float dx, float dy)void Translate(int dx, int dy) |
Union | Union(p1) | void Union(RectangleF rect)void Union(Rectangle rect)void Union(GraphicsPath path)void Union(Region region) |
Xor | Xor(p1) | void Xor(RectangleF rect)void Xor(Rectangle rect)void Xor(GraphicsPath path)void Xor(Region region) |
Size struct
System.Drawing.Size · assembly System.Drawing.Primitives
Constructors
new Size(Point pt) |
new Size(int width, int height) |
Ring: new Size(args) uses one constructor; the others are chosen by the parameter names: new Size().@New([ :param = value ]) or dnNew("Size",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsEmpty | bool | read | o.IsEmpty |
Width | int | read, write | o.Width o.Width = v |
Height | int | read, write | o.Height o.Height = v |
Empty | Size | read · static | o.Empty |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1,p2) | static Size Add(Size sz1, Size sz2) |
Ceiling | Ceiling(p1) | static Size Ceiling(SizeF value) |
Equals | Equals(p1) | bool Equals(object obj)bool Equals(Size other) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Round | Round(p1) | static Size Round(SizeF value) |
Subtract | Subtract(p1,p2) | static Size Subtract(Size sz1, Size sz2) |
ToString | callMethod("ToString",[]) | string ToString() |
Truncate | Truncate(p1) | static Size Truncate(SizeF value) |
SizeConverter class · extends TypeConverter
System.Drawing.SizeConverter · assembly System.ComponentModel.TypeConverter
Constructors
new SizeConverter() |
Ring: new SizeConverter(args) uses one constructor; the others are chosen by the parameter names: new SizeConverter().@New([ :param = value ]) or dnNew("SizeConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
CanConvertTo | callMethod("CanConvertTo",[p1,p2]) | bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
ConvertTo | ConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ]) | object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
CreateInstance | CreateInstance([ :context = …, :propertyValues = … ]) | object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues) |
GetCreateInstanceSupported | callMethod("GetCreateInstanceSupported",[p1]) | bool GetCreateInstanceSupported(ITypeDescriptorContext context) |
GetProperties | GetProperties([ :context = …, :value = …, :attributes = … ]) | PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) |
GetPropertiesSupported | callMethod("GetPropertiesSupported",[p1]) | bool GetPropertiesSupported(ITypeDescriptorContext context) |
Members of the base class are inherited.
SizeF struct
System.Drawing.SizeF · assembly System.Drawing.Primitives
Constructors
new SizeF(SizeF size) |
new SizeF(PointF pt) |
new SizeF(Vector2 vector) |
new SizeF(float width, float height) |
Ring: new SizeF(args) uses one constructor; the others are chosen by the parameter names: new SizeF().@New([ :param = value ]) or dnNew("SizeF",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsEmpty | bool | read | o.IsEmpty |
Width | float | read, write | o.Width o.Width = v |
Height | float | read, write | o.Height o.Height = v |
Empty | SizeF | read · static | o.Empty |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1,p2) | static SizeF Add(SizeF sz1, SizeF sz2) |
Equals | Equals(p1) | bool Equals(object obj)bool Equals(SizeF other) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Subtract | Subtract(p1,p2) | static SizeF Subtract(SizeF sz1, SizeF sz2) |
ToPointF | callMethod("ToPointF",[]) | PointF ToPointF() |
ToSize | callMethod("ToSize",[]) | Size ToSize() |
ToString | callMethod("ToString",[]) | string ToString() |
ToVector2 | callMethod("ToVector2",[]) | Vector2 ToVector2() |
SizeFConverter class · extends TypeConverter
System.Drawing.SizeFConverter · assembly System.ComponentModel.TypeConverter
Constructors
new SizeFConverter() |
Ring: new SizeFConverter(args) uses one constructor; the others are chosen by the parameter names: new SizeFConverter().@New([ :param = value ]) or dnNew("SizeFConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
CanConvertTo | callMethod("CanConvertTo",[p1,p2]) | bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
ConvertTo | ConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ]) | object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
CreateInstance | CreateInstance([ :context = …, :propertyValues = … ]) | object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues) |
GetCreateInstanceSupported | callMethod("GetCreateInstanceSupported",[p1]) | bool GetCreateInstanceSupported(ITypeDescriptorContext context) |
GetProperties | GetProperties([ :context = …, :value = …, :attributes = … ]) | PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) |
GetPropertiesSupported | callMethod("GetPropertiesSupported",[p1]) | bool GetPropertiesSupported(ITypeDescriptorContext context) |
Members of the base class are inherited.
SolidBrush class sealed · extends Brush
System.Drawing.SolidBrush · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Constructors
new SolidBrush(Color color) |
Ring: new SolidBrush(args) uses one constructor; the others are chosen by the parameter names: new SolidBrush().@New([ :param = value ]) or dnNew("SolidBrush",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Color | Color | read, write | o.Color o.Color = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
Members of the base class are inherited.
StringFormat class sealed
System.Drawing.StringFormat · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Constructors
new StringFormat() |
new StringFormat(StringFormatFlags options) |
new StringFormat(StringFormatFlags options, int language) |
new StringFormat(StringFormat format) |
Ring: new StringFormat(args) uses one constructor; the others are chosen by the parameter names: new StringFormat().@New([ :param = value ]) or dnNew("StringFormat",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FormatFlags | StringFormatFlags | read, write | o.FormatFlags o.FormatFlags = v |
Alignment | StringAlignment | read, write | o.Alignment o.Alignment = v |
LineAlignment | StringAlignment | read, write | o.LineAlignment o.LineAlignment = v |
HotkeyPrefix | HotkeyPrefix | read, write | o.HotkeyPrefix o.HotkeyPrefix = v |
Trimming | StringTrimming | read, write | o.Trimming o.Trimming = v |
DigitSubstitutionMethod | StringDigitSubstitute | read | o.DigitSubstitutionMethod |
DigitSubstitutionLanguage | int | read | o.DigitSubstitutionLanguage |
GenericDefault | StringFormat | read · static | o.GenericDefault |
GenericTypographic | StringFormat | read · static | o.GenericTypographic |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
GetTabStops | GetTabStops() | float[] GetTabStops(out float firstTabOffset) |
SetDigitSubstitution | SetDigitSubstitution(p1,p2) | void SetDigitSubstitution(int language, StringDigitSubstitute substitute) |
SetMeasurableCharacterRanges | SetMeasurableCharacterRanges(p1) | void SetMeasurableCharacterRanges(CharacterRange[] ranges) |
SetTabStops | SetTabStops(p1,p2) | void SetTabStops(float firstTabOffset, float[] tabStops) |
ToString | callMethod("ToString",[]) | string ToString() |
SystemBrushes class static
System.Drawing.SystemBrushes · assembly System.Drawing.Common
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ActiveBorder | Brush | read · static | o.ActiveBorder |
ActiveCaption | Brush | read · static | o.ActiveCaption |
ActiveCaptionText | Brush | read · static | o.ActiveCaptionText |
AppWorkspace | Brush | read · static | o.AppWorkspace |
ButtonFace | Brush | read · static | o.ButtonFace |
ButtonHighlight | Brush | read · static | o.ButtonHighlight |
ButtonShadow | Brush | read · static | o.ButtonShadow |
Control | Brush | read · static | o.Control |
ControlLightLight | Brush | read · static | o.ControlLightLight |
ControlLight | Brush | read · static | o.ControlLight |
ControlDark | Brush | read · static | o.ControlDark |
ControlDarkDark | Brush | read · static | o.ControlDarkDark |
ControlText | Brush | read · static | o.ControlText |
Desktop | Brush | read · static | o.Desktop |
GradientActiveCaption | Brush | read · static | o.GradientActiveCaption |
GradientInactiveCaption | Brush | read · static | o.GradientInactiveCaption |
GrayText | Brush | read · static | o.GrayText |
Highlight | Brush | read · static | o.Highlight |
HighlightText | Brush | read · static | o.HighlightText |
HotTrack | Brush | read · static | o.HotTrack |
InactiveCaption | Brush | read · static | o.InactiveCaption |
InactiveBorder | Brush | read · static | o.InactiveBorder |
InactiveCaptionText | Brush | read · static | o.InactiveCaptionText |
Info | Brush | read · static | o.Info |
InfoText | Brush | read · static | o.InfoText |
Menu | Brush | read · static | o.Menu |
MenuBar | Brush | read · static | o.MenuBar |
MenuHighlight | Brush | read · static | o.MenuHighlight |
MenuText | Brush | read · static | o.MenuText |
ScrollBar | Brush | read · static | o.ScrollBar |
Window | Brush | read · static | o.Window |
WindowFrame | Brush | read · static | o.WindowFrame |
WindowText | Brush | read · static | o.WindowText |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
FromSystemColor | FromSystemColor(p1) | static Brush FromSystemColor(Color c) |
SystemColors class static
System.Drawing.SystemColors · assembly System.Drawing.Primitives
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ActiveBorder | Color | read · static | o.ActiveBorder |
ActiveCaption | Color | read · static | o.ActiveCaption |
ActiveCaptionText | Color | read · static | o.ActiveCaptionText |
AppWorkspace | Color | read · static | o.AppWorkspace |
ButtonFace | Color | read · static | o.ButtonFace |
ButtonHighlight | Color | read · static | o.ButtonHighlight |
ButtonShadow | Color | read · static | o.ButtonShadow |
Control | Color | read · static | o.Control |
ControlDark | Color | read · static | o.ControlDark |
ControlDarkDark | Color | read · static | o.ControlDarkDark |
ControlLight | Color | read · static | o.ControlLight |
ControlLightLight | Color | read · static | o.ControlLightLight |
ControlText | Color | read · static | o.ControlText |
Desktop | Color | read · static | o.Desktop |
GradientActiveCaption | Color | read · static | o.GradientActiveCaption |
GradientInactiveCaption | Color | read · static | o.GradientInactiveCaption |
GrayText | Color | read · static | o.GrayText |
Highlight | Color | read · static | o.Highlight |
HighlightText | Color | read · static | o.HighlightText |
HotTrack | Color | read · static | o.HotTrack |
InactiveBorder | Color | read · static | o.InactiveBorder |
InactiveCaption | Color | read · static | o.InactiveCaption |
InactiveCaptionText | Color | read · static | o.InactiveCaptionText |
Info | Color | read · static | o.Info |
InfoText | Color | read · static | o.InfoText |
Menu | Color | read · static | o.Menu |
MenuBar | Color | read · static | o.MenuBar |
MenuHighlight | Color | read · static | o.MenuHighlight |
MenuText | Color | read · static | o.MenuText |
ScrollBar | Color | read · static | o.ScrollBar |
Window | Color | read · static | o.Window |
WindowFrame | Color | read · static | o.WindowFrame |
WindowText | Color | read · static | o.WindowText |
UseAlternativeColorSet | bool | read, write · static | o.UseAlternativeColorSet o.UseAlternativeColorSet = v |
SystemFonts class static
System.Drawing.SystemFonts · assembly System.Drawing.Common
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CaptionFont | Font | read · static | o.CaptionFont |
SmallCaptionFont | Font | read · static | o.SmallCaptionFont |
MenuFont | Font | read · static | o.MenuFont |
StatusFont | Font | read · static | o.StatusFont |
MessageBoxFont | Font | read · static | o.MessageBoxFont |
IconTitleFont | Font | read · static | o.IconTitleFont |
DefaultFont | Font | read · static | o.DefaultFont |
DialogFont | Font | read · static | o.DialogFont |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetFontByName | GetFontByName(p1) | static Font GetFontByName(string systemFontName) |
SystemIcons class static
System.Drawing.SystemIcons · assembly System.Drawing.Common
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Application | Icon | read · static | o.Application |
Asterisk | Icon | read · static | o.Asterisk |
Error | Icon | read · static | o.Error |
Exclamation | Icon | read · static | o.Exclamation |
Hand | Icon | read · static | o.Hand |
Information | Icon | read · static | o.Information |
Question | Icon | read · static | o.Question |
Warning | Icon | read · static | o.Warning |
WinLogo | Icon | read · static | o.WinLogo |
Shield | Icon | read · static | o.Shield |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetStockIcon | GetStockIcon([ :stockIcon = …, :options = … ])GetStockIcon([ :stockIcon = …, :size = … ]) | static Icon GetStockIcon(StockIconId stockIcon, StockIconOptions options = …)static Icon GetStockIcon(StockIconId stockIcon, int size) |
SystemPens class static
System.Drawing.SystemPens · assembly System.Drawing.Common
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ActiveBorder | Pen | read · static | o.ActiveBorder |
ActiveCaption | Pen | read · static | o.ActiveCaption |
ActiveCaptionText | Pen | read · static | o.ActiveCaptionText |
AppWorkspace | Pen | read · static | o.AppWorkspace |
ButtonFace | Pen | read · static | o.ButtonFace |
ButtonHighlight | Pen | read · static | o.ButtonHighlight |
ButtonShadow | Pen | read · static | o.ButtonShadow |
Control | Pen | read · static | o.Control |
ControlText | Pen | read · static | o.ControlText |
ControlDark | Pen | read · static | o.ControlDark |
ControlDarkDark | Pen | read · static | o.ControlDarkDark |
ControlLight | Pen | read · static | o.ControlLight |
ControlLightLight | Pen | read · static | o.ControlLightLight |
Desktop | Pen | read · static | o.Desktop |
GradientActiveCaption | Pen | read · static | o.GradientActiveCaption |
GradientInactiveCaption | Pen | read · static | o.GradientInactiveCaption |
GrayText | Pen | read · static | o.GrayText |
Highlight | Pen | read · static | o.Highlight |
HighlightText | Pen | read · static | o.HighlightText |
HotTrack | Pen | read · static | o.HotTrack |
InactiveBorder | Pen | read · static | o.InactiveBorder |
InactiveCaption | Pen | read · static | o.InactiveCaption |
InactiveCaptionText | Pen | read · static | o.InactiveCaptionText |
Info | Pen | read · static | o.Info |
InfoText | Pen | read · static | o.InfoText |
Menu | Pen | read · static | o.Menu |
MenuBar | Pen | read · static | o.MenuBar |
MenuHighlight | Pen | read · static | o.MenuHighlight |
MenuText | Pen | read · static | o.MenuText |
ScrollBar | Pen | read · static | o.ScrollBar |
Window | Pen | read · static | o.Window |
WindowFrame | Pen | read · static | o.WindowFrame |
WindowText | Pen | read · static | o.WindowText |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
FromSystemColor | FromSystemColor(p1) | static Pen FromSystemColor(Color c) |
TextureBrush class sealed · extends Brush
System.Drawing.TextureBrush · assembly System.Drawing.Common
Implements: ICloneable, IDisposable
Constructors
new TextureBrush(Image bitmap) |
new TextureBrush(Image image, WrapMode wrapMode) |
new TextureBrush(Image image, WrapMode wrapMode, RectangleF dstRect) |
new TextureBrush(Image image, WrapMode wrapMode, Rectangle dstRect) |
new TextureBrush(Image image, RectangleF dstRect) |
new TextureBrush(Image image, RectangleF dstRect, ImageAttributes imageAttr) |
new TextureBrush(Image image, Rectangle dstRect) |
new TextureBrush(Image image, Rectangle dstRect, ImageAttributes imageAttr) |
Ring: new TextureBrush(args) uses one constructor; the others are chosen by the parameter names: new TextureBrush().@New([ :param = value ]) or dnNew("TextureBrush",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Transform | Matrix | read, write | o.Transform o.Transform = v |
WrapMode | WrapMode | read, write | o.WrapMode o.WrapMode = v |
Image | Image | read | o.Image |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
MultiplyTransform | callMethod("MultiplyTransform",[p1])callMethod("MultiplyTransform",[p1,p2]) | void MultiplyTransform(Matrix matrix)void MultiplyTransform(Matrix matrix, MatrixOrder order) |
ResetTransform | callMethod("ResetTransform",[]) | void ResetTransform() |
RotateTransform | callMethod("RotateTransform",[p1])callMethod("RotateTransform",[p1,p2]) | void RotateTransform(float angle)void RotateTransform(float angle, MatrixOrder order) |
ScaleTransform | ScaleTransform([ :sx = …, :sy = … ])ScaleTransform([ :sx = …, :sy = …, :order = … ]) | void ScaleTransform(float sx, float sy)void ScaleTransform(float sx, float sy, MatrixOrder order) |
TranslateTransform | TranslateTransform([ :dx = …, :dy = … ])TranslateTransform([ :dx = …, :dy = …, :order = … ]) | void TranslateTransform(float dx, float dy)void TranslateTransform(float dx, float dy, MatrixOrder order) |
Members of the base class are inherited.
ToolboxBitmapAttribute class · extends Attribute
System.Drawing.ToolboxBitmapAttribute · assembly System.Drawing.Common
Constructors
new ToolboxBitmapAttribute(string imageFile) |
new ToolboxBitmapAttribute(Type t) |
new ToolboxBitmapAttribute(Type t, string name) |
Ring: new ToolboxBitmapAttribute(args) uses one constructor; the others are chosen by the parameter names: new ToolboxBitmapAttribute().@New([ :param = value ]) or dnNew("ToolboxBitmapAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Default | ToolboxBitmapAttribute | read · static | o.Default |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object value) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
GetImage | GetImage(value)GetImage([ :component = … ])GetImage([ :type = … ])GetImage([ :component = …, :large = … ])GetImage([ :type = …, :large = … ]) | Image GetImage(object component)Image GetImage(object component, bool large)Image GetImage(Type type)Image GetImage(Type type, bool large)Image GetImage(Type type, string imgName, bool large) |
GetImageFromResource | GetImageFromResource(p1,p2,p3) | static Image GetImageFromResource(Type t, string imageName, bool large) |
Members of the base class are inherited.