RingDotNetfor Ring

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

MethodRing call.NET overloads
ApplyEffectcallMethod("ApplyEffect",[p1,p2])void ApplyEffect(Effect effect, Rectangle area = …)
CloneClone([ :rect = …, :format = … ])Bitmap Clone(RectangleF rect, PixelFormat format)
Bitmap Clone(Rectangle rect, PixelFormat format)
ConvertFormatcallMethod("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)
FromHiconFromHicon(p1)static Bitmap FromHicon(IntPtr hicon)
FromResourceFromResource(p1,p2)static Bitmap FromResource(IntPtr hinstance, string bitmapName)
GetHbitmapGetHbitmap(NULL)
GetHbitmap(value)
GetHbitmap([ :background = … ])
IntPtr GetHbitmap()
IntPtr GetHbitmap(Color background)
GetHiconcallMethod("GetHicon",[])IntPtr GetHicon()
GetPixelcallMethod("GetPixel",[p1,p2])Color GetPixel(int x, int y)
LockBitsLockBits([ :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)
MakeTransparentcallMethod("MakeTransparent",[])
callMethod("MakeTransparent",[p1])
void MakeTransparent()
void MakeTransparent(Color transparentColor)
SetPixelSetPixel(p1,p2,p3)void SetPixel(int x, int y, Color color)
SetResolutioncallMethod("SetResolution",[p1,p2])void SetResolution(float xDpi, float yDpi)
UnlockBitsUnlockBits(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

MethodRing call.NET overloads
ClonecallMethod("Clone",[])object Clone()
DisposecallMethod("Dispose",[])void Dispose()
Brushes class static

System.Drawing.Brushes · assembly System.Drawing.Common

Properties and fields

NameTypeAccessIn Ring
TransparentBrushread · statico.Transparent
AliceBlueBrushread · statico.AliceBlue
AntiqueWhiteBrushread · statico.AntiqueWhite
AquaBrushread · statico.Aqua
AquamarineBrushread · statico.Aquamarine
AzureBrushread · statico.Azure
BeigeBrushread · statico.Beige
BisqueBrushread · statico.Bisque
BlackBrushread · statico.Black
BlanchedAlmondBrushread · statico.BlanchedAlmond
BlueBrushread · statico.Blue
BlueVioletBrushread · statico.BlueViolet
BrownBrushread · statico.Brown
BurlyWoodBrushread · statico.BurlyWood
CadetBlueBrushread · statico.CadetBlue
ChartreuseBrushread · statico.Chartreuse
ChocolateBrushread · statico.Chocolate
CoralBrushread · statico.Coral
CornflowerBlueBrushread · statico.CornflowerBlue
CornsilkBrushread · statico.Cornsilk
CrimsonBrushread · statico.Crimson
CyanBrushread · statico.Cyan
DarkBlueBrushread · statico.DarkBlue
DarkCyanBrushread · statico.DarkCyan
DarkGoldenrodBrushread · statico.DarkGoldenrod
DarkGrayBrushread · statico.DarkGray
DarkGreenBrushread · statico.DarkGreen
DarkKhakiBrushread · statico.DarkKhaki
DarkMagentaBrushread · statico.DarkMagenta
DarkOliveGreenBrushread · statico.DarkOliveGreen
DarkOrangeBrushread · statico.DarkOrange
DarkOrchidBrushread · statico.DarkOrchid
DarkRedBrushread · statico.DarkRed
DarkSalmonBrushread · statico.DarkSalmon
DarkSeaGreenBrushread · statico.DarkSeaGreen
DarkSlateBlueBrushread · statico.DarkSlateBlue
DarkSlateGrayBrushread · statico.DarkSlateGray
DarkTurquoiseBrushread · statico.DarkTurquoise
DarkVioletBrushread · statico.DarkViolet
DeepPinkBrushread · statico.DeepPink
DeepSkyBlueBrushread · statico.DeepSkyBlue
DimGrayBrushread · statico.DimGray
DodgerBlueBrushread · statico.DodgerBlue
FirebrickBrushread · statico.Firebrick
FloralWhiteBrushread · statico.FloralWhite
ForestGreenBrushread · statico.ForestGreen
FuchsiaBrushread · statico.Fuchsia
GainsboroBrushread · statico.Gainsboro
GhostWhiteBrushread · statico.GhostWhite
GoldBrushread · statico.Gold
GoldenrodBrushread · statico.Goldenrod
GrayBrushread · statico.Gray
GreenBrushread · statico.Green
GreenYellowBrushread · statico.GreenYellow
HoneydewBrushread · statico.Honeydew
HotPinkBrushread · statico.HotPink
IndianRedBrushread · statico.IndianRed
IndigoBrushread · statico.Indigo
IvoryBrushread · statico.Ivory
KhakiBrushread · statico.Khaki
LavenderBrushread · statico.Lavender
LavenderBlushBrushread · statico.LavenderBlush
LawnGreenBrushread · statico.LawnGreen
LemonChiffonBrushread · statico.LemonChiffon
LightBlueBrushread · statico.LightBlue
LightCoralBrushread · statico.LightCoral
LightCyanBrushread · statico.LightCyan
LightGoldenrodYellowBrushread · statico.LightGoldenrodYellow
LightGreenBrushread · statico.LightGreen
LightGrayBrushread · statico.LightGray
LightPinkBrushread · statico.LightPink
LightSalmonBrushread · statico.LightSalmon
LightSeaGreenBrushread · statico.LightSeaGreen
LightSkyBlueBrushread · statico.LightSkyBlue
LightSlateGrayBrushread · statico.LightSlateGray
LightSteelBlueBrushread · statico.LightSteelBlue
LightYellowBrushread · statico.LightYellow
LimeBrushread · statico.Lime
LimeGreenBrushread · statico.LimeGreen
LinenBrushread · statico.Linen
MagentaBrushread · statico.Magenta
MaroonBrushread · statico.Maroon
MediumAquamarineBrushread · statico.MediumAquamarine
MediumBlueBrushread · statico.MediumBlue
MediumOrchidBrushread · statico.MediumOrchid
MediumPurpleBrushread · statico.MediumPurple
MediumSeaGreenBrushread · statico.MediumSeaGreen
MediumSlateBlueBrushread · statico.MediumSlateBlue
MediumSpringGreenBrushread · statico.MediumSpringGreen
MediumTurquoiseBrushread · statico.MediumTurquoise
MediumVioletRedBrushread · statico.MediumVioletRed
MidnightBlueBrushread · statico.MidnightBlue
MintCreamBrushread · statico.MintCream
MistyRoseBrushread · statico.MistyRose
MoccasinBrushread · statico.Moccasin
NavajoWhiteBrushread · statico.NavajoWhite
NavyBrushread · statico.Navy
OldLaceBrushread · statico.OldLace
OliveBrushread · statico.Olive
OliveDrabBrushread · statico.OliveDrab
OrangeBrushread · statico.Orange
OrangeRedBrushread · statico.OrangeRed
OrchidBrushread · statico.Orchid
PaleGoldenrodBrushread · statico.PaleGoldenrod
PaleGreenBrushread · statico.PaleGreen
PaleTurquoiseBrushread · statico.PaleTurquoise
PaleVioletRedBrushread · statico.PaleVioletRed
PapayaWhipBrushread · statico.PapayaWhip
PeachPuffBrushread · statico.PeachPuff
PeruBrushread · statico.Peru
PinkBrushread · statico.Pink
PlumBrushread · statico.Plum
PowderBlueBrushread · statico.PowderBlue
PurpleBrushread · statico.Purple
RedBrushread · statico.Red
RosyBrownBrushread · statico.RosyBrown
RoyalBlueBrushread · statico.RoyalBlue
SaddleBrownBrushread · statico.SaddleBrown
SalmonBrushread · statico.Salmon
SandyBrownBrushread · statico.SandyBrown
SeaGreenBrushread · statico.SeaGreen
SeaShellBrushread · statico.SeaShell
SiennaBrushread · statico.Sienna
SilverBrushread · statico.Silver
SkyBlueBrushread · statico.SkyBlue
SlateBlueBrushread · statico.SlateBlue
SlateGrayBrushread · statico.SlateGray
SnowBrushread · statico.Snow
SpringGreenBrushread · statico.SpringGreen
SteelBlueBrushread · statico.SteelBlue
TanBrushread · statico.Tan
TealBrushread · statico.Teal
ThistleBrushread · statico.Thistle
TomatoBrushread · statico.Tomato
TurquoiseBrushread · statico.Turquoise
VioletBrushread · statico.Violet
WheatBrushread · statico.Wheat
WhiteBrushread · statico.White
WhiteSmokeBrushread · statico.WhiteSmoke
YellowBrushread · statico.Yellow
YellowGreenBrushread · statico.YellowGreen
BufferedGraphics class sealed

System.Drawing.BufferedGraphics · assembly System.Drawing.Common

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
GraphicsGraphicsreado.Graphics

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
RendercallMethod("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

NameTypeAccessIn Ring
MaximumBufferSizeread, writeo.MaximumBuffer o.MaximumBuffer = v

Methods

MethodRing call.NET overloads
AllocatecallMethod("Allocate",[p1,p2])BufferedGraphics Allocate(Graphics targetGraphics, Rectangle targetRectangle)
BufferedGraphics Allocate(IntPtr targetDC, Rectangle targetRectangle)
DisposecallMethod("Dispose",[])void Dispose()
InvalidatecallMethod("Invalidate",[])void Invalidate()
BufferedGraphicsManager class static

System.Drawing.BufferedGraphicsManager · assembly System.Drawing.Common

Properties and fields

NameTypeAccessIn Ring
CurrentBufferedGraphicsContextread · statico.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

NameTypeAccessIn Ring
Firstintread, writeo.First o.First = v
Lengthintread, writeo.Length o.Length = v

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
bool Equals(CharacterRange other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
Color struct

System.Drawing.Color · assembly System.Drawing.Primitives

Properties and fields

NameTypeAccessIn Ring
Rbytereado.R
Gbytereado.G
Bbytereado.B
Abytereado.A
IsKnownColorboolreado.IsKnownColor
IsEmptyboolreado.IsEmpty
IsNamedColorboolreado.IsNamedColor
IsSystemColorboolreado.IsSystemColor
Namestringreado.Name
TransparentColorread · statico.Transparent
AliceBlueColorread · statico.AliceBlue
AntiqueWhiteColorread · statico.AntiqueWhite
AquaColorread · statico.Aqua
AquamarineColorread · statico.Aquamarine
AzureColorread · statico.Azure
BeigeColorread · statico.Beige
BisqueColorread · statico.Bisque
BlackColorread · statico.Black
BlanchedAlmondColorread · statico.BlanchedAlmond
BlueColorread · statico.Blue
BlueVioletColorread · statico.BlueViolet
BrownColorread · statico.Brown
BurlyWoodColorread · statico.BurlyWood
CadetBlueColorread · statico.CadetBlue
ChartreuseColorread · statico.Chartreuse
ChocolateColorread · statico.Chocolate
CoralColorread · statico.Coral
CornflowerBlueColorread · statico.CornflowerBlue
CornsilkColorread · statico.Cornsilk
CrimsonColorread · statico.Crimson
CyanColorread · statico.Cyan
DarkBlueColorread · statico.DarkBlue
DarkCyanColorread · statico.DarkCyan
DarkGoldenrodColorread · statico.DarkGoldenrod
DarkGrayColorread · statico.DarkGray
DarkGreenColorread · statico.DarkGreen
DarkKhakiColorread · statico.DarkKhaki
DarkMagentaColorread · statico.DarkMagenta
DarkOliveGreenColorread · statico.DarkOliveGreen
DarkOrangeColorread · statico.DarkOrange
DarkOrchidColorread · statico.DarkOrchid
DarkRedColorread · statico.DarkRed
DarkSalmonColorread · statico.DarkSalmon
DarkSeaGreenColorread · statico.DarkSeaGreen
DarkSlateBlueColorread · statico.DarkSlateBlue
DarkSlateGrayColorread · statico.DarkSlateGray
DarkTurquoiseColorread · statico.DarkTurquoise
DarkVioletColorread · statico.DarkViolet
DeepPinkColorread · statico.DeepPink
DeepSkyBlueColorread · statico.DeepSkyBlue
DimGrayColorread · statico.DimGray
DodgerBlueColorread · statico.DodgerBlue
FirebrickColorread · statico.Firebrick
FloralWhiteColorread · statico.FloralWhite
ForestGreenColorread · statico.ForestGreen
FuchsiaColorread · statico.Fuchsia
GainsboroColorread · statico.Gainsboro
GhostWhiteColorread · statico.GhostWhite
GoldColorread · statico.Gold
GoldenrodColorread · statico.Goldenrod
GrayColorread · statico.Gray
GreenColorread · statico.Green
GreenYellowColorread · statico.GreenYellow
HoneydewColorread · statico.Honeydew
HotPinkColorread · statico.HotPink
IndianRedColorread · statico.IndianRed
IndigoColorread · statico.Indigo
IvoryColorread · statico.Ivory
KhakiColorread · statico.Khaki
LavenderColorread · statico.Lavender
LavenderBlushColorread · statico.LavenderBlush
LawnGreenColorread · statico.LawnGreen
LemonChiffonColorread · statico.LemonChiffon
LightBlueColorread · statico.LightBlue
LightCoralColorread · statico.LightCoral
LightCyanColorread · statico.LightCyan
LightGoldenrodYellowColorread · statico.LightGoldenrodYellow
LightGreenColorread · statico.LightGreen
LightGrayColorread · statico.LightGray
LightPinkColorread · statico.LightPink
LightSalmonColorread · statico.LightSalmon
LightSeaGreenColorread · statico.LightSeaGreen
LightSkyBlueColorread · statico.LightSkyBlue
LightSlateGrayColorread · statico.LightSlateGray
LightSteelBlueColorread · statico.LightSteelBlue
LightYellowColorread · statico.LightYellow
LimeColorread · statico.Lime
LimeGreenColorread · statico.LimeGreen
LinenColorread · statico.Linen
MagentaColorread · statico.Magenta
MaroonColorread · statico.Maroon
MediumAquamarineColorread · statico.MediumAquamarine
MediumBlueColorread · statico.MediumBlue
MediumOrchidColorread · statico.MediumOrchid
MediumPurpleColorread · statico.MediumPurple
MediumSeaGreenColorread · statico.MediumSeaGreen
MediumSlateBlueColorread · statico.MediumSlateBlue
MediumSpringGreenColorread · statico.MediumSpringGreen
MediumTurquoiseColorread · statico.MediumTurquoise
MediumVioletRedColorread · statico.MediumVioletRed
MidnightBlueColorread · statico.MidnightBlue
MintCreamColorread · statico.MintCream
MistyRoseColorread · statico.MistyRose
MoccasinColorread · statico.Moccasin
NavajoWhiteColorread · statico.NavajoWhite
NavyColorread · statico.Navy
OldLaceColorread · statico.OldLace
OliveColorread · statico.Olive
OliveDrabColorread · statico.OliveDrab
OrangeColorread · statico.Orange
OrangeRedColorread · statico.OrangeRed
OrchidColorread · statico.Orchid
PaleGoldenrodColorread · statico.PaleGoldenrod
PaleGreenColorread · statico.PaleGreen
PaleTurquoiseColorread · statico.PaleTurquoise
PaleVioletRedColorread · statico.PaleVioletRed
PapayaWhipColorread · statico.PapayaWhip
PeachPuffColorread · statico.PeachPuff
PeruColorread · statico.Peru
PinkColorread · statico.Pink
PlumColorread · statico.Plum
PowderBlueColorread · statico.PowderBlue
PurpleColorread · statico.Purple
RebeccaPurpleColorread · statico.RebeccaPurple
RedColorread · statico.Red
RosyBrownColorread · statico.RosyBrown
RoyalBlueColorread · statico.RoyalBlue
SaddleBrownColorread · statico.SaddleBrown
SalmonColorread · statico.Salmon
SandyBrownColorread · statico.SandyBrown
SeaGreenColorread · statico.SeaGreen
SeaShellColorread · statico.SeaShell
SiennaColorread · statico.Sienna
SilverColorread · statico.Silver
SkyBlueColorread · statico.SkyBlue
SlateBlueColorread · statico.SlateBlue
SlateGrayColorread · statico.SlateGray
SnowColorread · statico.Snow
SpringGreenColorread · statico.SpringGreen
SteelBlueColorread · statico.SteelBlue
TanColorread · statico.Tan
TealColorread · statico.Teal
ThistleColorread · statico.Thistle
TomatoColorread · statico.Tomato
TurquoiseColorread · statico.Turquoise
VioletColorread · statico.Violet
WheatColorread · statico.Wheat
WhiteColorread · statico.White
WhiteSmokeColorread · statico.WhiteSmoke
YellowColorread · statico.Yellow
YellowGreenColorread · statico.YellowGreen
EmptyColorread · statico.Empty

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Color other)
FromArgbFromArgb(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)
FromKnownColorFromKnownColor(p1)static Color FromKnownColor(KnownColor color)
FromNameFromName(p1)static Color FromName(string name)
GetBrightnesscallMethod("GetBrightness",[])float GetBrightness()
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
GetHuecallMethod("GetHue",[])float GetHue()
GetSaturationcallMethod("GetSaturation",[])float GetSaturation()
ToArgbcallMethod("ToArgb",[])int ToArgb()
ToKnownColorcallMethod("ToKnownColor",[])KnownColor ToKnownColor()
ToStringcallMethod("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

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
CanConvertTocallMethod("CanConvertTo",[p1,p2])bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ConvertToConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ])object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
GetStandardValuesGetStandardValues(value)
GetStandardValues([ :context = … ])
TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
GetStandardValuesSupportedcallMethod("GetStandardValuesSupported",[p1])bool GetStandardValuesSupported(ITypeDescriptorContext context)

Members of the base class are inherited.

ColorTranslator class static

System.Drawing.ColorTranslator · assembly System.Drawing.Primitives

Methods

MethodRing call.NET overloads
FromHtmlFromHtml(p1)static Color FromHtml(string htmlColor)
FromOleFromOle(p1)static Color FromOle(int oleColor)
FromWin32FromWin32(p1)static Color FromWin32(int win32Color)
ToHtmlToHtml(p1)static string ToHtml(Color c)
ToOleToOle(p1)static int ToOle(Color c)
ToWin32ToWin32(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

NameTypeAccessIn Ring
Sizefloatreado.Size
StyleFontStylereado.Style
Boldboolreado.Bold
Italicboolreado.Italic
Strikeoutboolreado.Strikeout
Underlineboolreado.Underline
FontFamilyFontFamilyreado.FontFamily
Namestringreado.Name
UnitGraphicsUnitreado.Unit
GdiCharSetbytereado.GdiCharSet
GdiVerticalFontboolreado.GdiVerticalFont
OriginalFontNamestringreado.OriginalFontName
SystemFontNamestringreado.SystemFontName
IsSystemFontboolreado.IsSystemFont
Heightintreado.Height
SizeInPointsfloatreado.SizeInPoints

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])object Clone()
DisposecallMethod("Dispose",[])void Dispose()
EqualsEquals(p1)bool Equals(object obj)
FromHdcFromHdc(p1)static Font FromHdc(IntPtr hdc)
FromHfontFromHfont(p1)static Font FromHfont(IntPtr hfont)
FromLogFontFromLogFont(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)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
GetHeightcallMethod("GetHeight",[])
callMethod("GetHeight",[p1])
float GetHeight(Graphics graphics)
float GetHeight(float dpi)
float GetHeight()
ToHfontcallMethod("ToHfont",[])IntPtr ToHfont()
ToLogFontToLogFont(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)
ToStringcallMethod("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

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
CanConvertTocallMethod("CanConvertTo",[p1,p2])bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ConvertToConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ])object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
CreateInstanceCreateInstance([ :context = …, :propertyValues = … ])object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
GetCreateInstanceSupportedcallMethod("GetCreateInstanceSupported",[p1])bool GetCreateInstanceSupported(ITypeDescriptorContext context)
GetPropertiesGetProperties([ :context = …, :value = …, :attributes = … ])PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
GetPropertiesSupportedcallMethod("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

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
GetStandardValuesGetStandardValues(value)
GetStandardValues([ :context = … ])
TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
GetStandardValuesExclusivecallMethod("GetStandardValuesExclusive",[p1])bool GetStandardValuesExclusive(ITypeDescriptorContext context)
GetStandardValuesSupportedcallMethod("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

MethodRing call.NET overloads
GetStandardValuesGetStandardValues(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

NameTypeAccessIn Ring
Namestringreado.Name
FamiliesFontFamily[]read · statico.Families
GenericSansSerifFontFamilyread · statico.GenericSansSerif
GenericSerifFontFamilyread · statico.GenericSerif
GenericMonospaceFontFamilyread · statico.GenericMonospace

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
EqualsEquals(p1)bool Equals(object obj)
GetCellAscentGetCellAscent(p1)int GetCellAscent(FontStyle style)
GetCellDescentGetCellDescent(p1)int GetCellDescent(FontStyle style)
GetEmHeightGetEmHeight(p1)int GetEmHeight(FontStyle style)
GetFamilies@GetFamilies(p1)static FontFamily[] GetFamilies(Graphics graphics)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
GetLineSpacingGetLineSpacing(p1)int GetLineSpacing(FontStyle style)
GetNamecallMethod("GetName",[p1])string GetName(int language)
IsStyleAvailableIsStyleAvailable(p1)bool IsStyleAvailable(FontStyle style)
ToStringcallMethod("ToString",[])string ToString()
Graphics class sealed

System.Drawing.Graphics · assembly System.Drawing.Common

Implements: IDisposable, IDeviceContext

Properties and fields

NameTypeAccessIn Ring
ClipRegionread, writeo.Clip o.Clip = v
ClipBoundsRectangleFreado.ClipBounds
CompositingModeCompositingModeread, writeo.CompositingMode o.CompositingMode = v
CompositingQualityCompositingQualityread, writeo.CompositingQuality o.CompositingQuality = v
DpiXfloatreado.DpiX
DpiYfloatreado.DpiY
InterpolationModeInterpolationModeread, writeo.InterpolationMode o.InterpolationMode = v
IsClipEmptyboolreado.IsClipEmpty
IsVisibleClipEmptyboolreado.IsVisibleClipEmpty
PageScalefloatread, writeo.PageScale o.PageScale = v
PageUnitGraphicsUnitread, writeo.PageUnit o.PageUnit = v
PixelOffsetModePixelOffsetModeread, writeo.PixelOffsetMode o.PixelOffsetMode = v
RenderingOriginPointread, writeo.RenderingOrigin o.RenderingOrigin = v
SmoothingModeSmoothingModeread, writeo.SmoothingMode o.SmoothingMode = v
TextContrastintread, writeo.TextContrast o.TextContrast = v
TextRenderingHintTextRenderingHintread, writeo.TextRenderingHint o.TextRenderingHint = v
TransformMatrixread, writeo.Transform o.Transform = v
TransformElementsMatrix3x2read, writeo.TransformElements o.TransformElements = v
VisibleClipBoundsRectangleFreado.VisibleClipBounds

Methods

MethodRing call.NET overloads
AddMetafileCommentAddMetafileComment(p1)void AddMetafileComment(byte[] data)
BeginContainerBeginContainer(NULL)
BeginContainer([ :dstrect = …, :srcrect = …, :unit = … ])
GraphicsContainer BeginContainer(RectangleF dstrect, RectangleF srcrect, GraphicsUnit unit)
GraphicsContainer BeginContainer()
GraphicsContainer BeginContainer(Rectangle dstrect, Rectangle srcrect, GraphicsUnit unit)
ClearClear(p1)void Clear(Color color)
CopyFromScreenCopyFromScreen([ :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)
DisposecallMethod("Dispose",[])void Dispose()
DrawArcDrawArc([ :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)
DrawBezierDrawBezier([ :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)
DrawBeziersDrawBeziers(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)
DrawCachedBitmapDrawCachedBitmap(p1,p2,p3)void DrawCachedBitmap(CachedBitmap cachedBitmap, int x, int y)
DrawClosedCurveDrawClosedCurve([ :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)
DrawCurveDrawCurve([ :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)
DrawEllipseDrawEllipse([ :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)
DrawIconDrawIcon([ :icon = …, :targetRect = … ])
DrawIcon([ :icon = …, :x = …, :y = … ])
void DrawIcon(Icon icon, int x, int y)
void DrawIcon(Icon icon, Rectangle targetRect)
DrawIconUnstretchedDrawIconUnstretched(p1,p2)void DrawIconUnstretched(Icon icon, Rectangle targetRect)
DrawImageDrawImage([ :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 = …)
DrawImageUnscaledDrawImageUnscaled([ :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)
DrawImageUnscaledAndClippedDrawImageUnscaledAndClipped(p1,p2)void DrawImageUnscaledAndClipped(Image image, Rectangle rect)
DrawLineDrawLine([ :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)
DrawLinesDrawLines(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)
DrawPathDrawPath(p1,p2)void DrawPath(Pen pen, GraphicsPath path)
DrawPieDrawPie([ :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)
DrawPolygonDrawPolygon(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)
DrawRectangleDrawRectangle([ :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)
DrawRectanglesDrawRectangles(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)
DrawRoundedRectangleDrawRoundedRectangle(p1,p2,p3)void DrawRoundedRectangle(Pen pen, Rectangle rect, Size radius)
void DrawRoundedRectangle(Pen pen, RectangleF rect, SizeF radius)
DrawStringDrawString([ :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)
EndContainerEndContainer(p1)void EndContainer(GraphicsContainer container)
EnumerateMetafileEnumerateMetafile([ :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)
ExcludeClipExcludeClip(p1)void ExcludeClip(Rectangle rect)
void ExcludeClip(Region region)
FillClosedCurveFillClosedCurve([ :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)
FillEllipseFillEllipse([ :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)
FillPathFillPath(p1,p2)void FillPath(Brush brush, GraphicsPath path)
FillPieFillPie([ :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)
FillPolygonFillPolygon([ :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)
FillRectangleFillRectangle([ :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)
FillRectanglesFillRectangles(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)
FillRegionFillRegion(p1,p2)void FillRegion(Brush brush, Region region)
FillRoundedRectangleFillRoundedRectangle(p1,p2,p3)void FillRoundedRectangle(Brush brush, Rectangle rect, Size radius)
void FillRoundedRectangle(Brush brush, RectangleF rect, SizeF radius)
FlushcallMethod("Flush",[])
callMethod("Flush",[p1])
void Flush()
void Flush(FlushIntention intention)
FromHdcFromHdc(value)
FromHdc([ :hdc = … ])
FromHdc([ :hdc = …, :hdevice = … ])
static Graphics FromHdc(IntPtr hdc)
static Graphics FromHdc(IntPtr hdc, IntPtr hdevice)
FromHdcInternalFromHdcInternal(p1)static Graphics FromHdcInternal(IntPtr hdc)
FromHwndFromHwnd(p1)static Graphics FromHwnd(IntPtr hwnd)
FromHwndInternalFromHwndInternal(p1)static Graphics FromHwndInternal(IntPtr hwnd)
FromImageFromImage(p1)static Graphics FromImage(Image image)
GetContextInfocallMethod("GetContextInfo",[])
callMethod("GetContextInfo",[p1])
callMethod("GetContextInfo",[p1,p2])
object GetContextInfo()
void GetContextInfo(out PointF offset)
void GetContextInfo(out PointF offset, out Region clip)
GetHalftonePaletteGetHalftonePalette()static IntPtr GetHalftonePalette()
GetHdccallMethod("GetHdc",[])IntPtr GetHdc()
GetNearestColorcallMethod("GetNearestColor",[p1])Color GetNearestColor(Color color)
IntersectClipIntersectClip(p1)void IntersectClip(Rectangle rect)
void IntersectClip(RectangleF rect)
void IntersectClip(Region region)
IsVisiblecallMethod("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)
MeasureCharacterRangescallMethod("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)
MeasureStringMeasureString([ :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)
MeasureStringInternalMeasureStringInternal(p1,p2,p3,p4)SizeF MeasureStringInternal(ReadOnlySpan<char> text, Font font, RectangleF layoutArea, StringFormat stringFormat, out int charactersFitted, out int linesFilled)
MultiplyTransformcallMethod("MultiplyTransform",[p1])
callMethod("MultiplyTransform",[p1,p2])
void MultiplyTransform(Matrix matrix)
void MultiplyTransform(Matrix matrix, MatrixOrder order)
ReleaseHdccallMethod("ReleaseHdc",[])
callMethod("ReleaseHdc",[p1])
void ReleaseHdc(IntPtr hdc)
void ReleaseHdc()
ReleaseHdcInternalReleaseHdcInternal(p1)void ReleaseHdcInternal(IntPtr hdc)
ResetClipcallMethod("ResetClip",[])void ResetClip()
ResetTransformcallMethod("ResetTransform",[])void ResetTransform()
RestoreRestore(p1)void Restore(GraphicsState gstate)
RotateTransformcallMethod("RotateTransform",[p1])
callMethod("RotateTransform",[p1,p2])
void RotateTransform(float angle)
void RotateTransform(float angle, MatrixOrder order)
SavecallMethod("Save",[])GraphicsState Save()
ScaleTransformScaleTransform([ :sx = …, :sy = … ])
ScaleTransform([ :sx = …, :sy = …, :order = … ])
void ScaleTransform(float sx, float sy)
void ScaleTransform(float sx, float sy, MatrixOrder order)
SetClipcallMethod("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)
TransformPointsTransformPoints(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)
TranslateClipcallMethod("TranslateClip",[p1,p2])void TranslateClip(float dx, float dy)
void TranslateClip(int dx, int dy)
TranslateTransformTranslateTransform([ :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

NameTypeAccessIn Ring
HandleIntPtrreado.Handle
Heightintreado.Height
SizeSizereado.Size
Widthintreado.Width

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])object Clone()
DisposecallMethod("Dispose",[])void Dispose()
ExtractAssociatedIconExtractAssociatedIcon(p1)static Icon ExtractAssociatedIcon(string filePath)
ExtractIconExtractIcon([ :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 = …)
FromHandleFromHandle(p1)static Icon FromHandle(IntPtr handle)
SaveSave(p1)void Save(Stream outputStream)
ToBitmapcallMethod("ToBitmap",[])Bitmap ToBitmap()
ToStringcallMethod("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

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
CanConvertTocallMethod("CanConvertTo",[p1,p2])bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ConvertToConvertTo([ :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

MethodRing call.NET overloads
GetHdccallMethod("GetHdc",[])IntPtr GetHdc()
ReleaseHdccallMethod("ReleaseHdc",[])void ReleaseHdc()
Image class abstract

System.Drawing.Image · assembly System.Drawing.Common

Implements: IDisposable, ICloneable, ISerializable

Properties and fields

NameTypeAccessIn Ring
Tagobjectread, writeo.Tag o.Tag = v
PhysicalDimensionSizeFreado.PhysicalDimension
SizeSizereado.Size
Widthintreado.Width
Heightintreado.Height
HorizontalResolutionfloatreado.HorizontalResolution
VerticalResolutionfloatreado.VerticalResolution
Flagsintreado.Flags
RawFormatImageFormatreado.RawFormat
PixelFormatPixelFormatreado.PixelFormat
PropertyIdListint[]reado.PropertyIdList
PropertyItemsPropertyItem[]reado.PropertyItems
PaletteColorPaletteread, writeo.Palette o.Palette = v
FrameDimensionsListGuid[]reado.FrameDimensionsList

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])object Clone()
DisposecallMethod("Dispose",[])void Dispose()
FromFileFromFile(value)
FromFile([ :filename = … ])
FromFile([ :filename = …, :useEmbeddedColorManagement = … ])
static Image FromFile(string filename)
static Image FromFile(string filename, bool useEmbeddedColorManagement)
FromHbitmapFromHbitmap(value)
FromHbitmap([ :hbitmap = … ])
FromHbitmap([ :hbitmap = …, :hpalette = … ])
static Bitmap FromHbitmap(IntPtr hbitmap)
static Bitmap FromHbitmap(IntPtr hbitmap, IntPtr hpalette)
FromStreamFromStream(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)
GetBoundsGetBounds(p1)RectangleF GetBounds(ref GraphicsUnit pageUnit)
GetEncoderParameterListcallMethod("GetEncoderParameterList",[p1])EncoderParameters GetEncoderParameterList(Guid encoder)
GetFrameCountGetFrameCount(p1)int GetFrameCount(FrameDimension dimension)
GetPixelFormatSizeGetPixelFormatSize(p1)static int GetPixelFormatSize(PixelFormat pixfmt)
GetPropertyItemcallMethod("GetPropertyItem",[p1])PropertyItem GetPropertyItem(int propid)
GetThumbnailImagecallMethod("GetThumbnailImage",[p1,p2,p3,p4])Image GetThumbnailImage(int thumbWidth, int thumbHeight, Image.GetThumbnailImageAbort callback, IntPtr callbackData)
IsAlphaPixelFormatIsAlphaPixelFormat(p1)static bool IsAlphaPixelFormat(PixelFormat pixfmt)
IsCanonicalPixelFormatIsCanonicalPixelFormat(p1)static bool IsCanonicalPixelFormat(PixelFormat pixfmt)
IsExtendedPixelFormatIsExtendedPixelFormat(p1)static bool IsExtendedPixelFormat(PixelFormat pixfmt)
RemovePropertyItemcallMethod("RemovePropertyItem",[p1])void RemovePropertyItem(int propid)
RotateFlipRotateFlip(p1)void RotateFlip(RotateFlipType rotateFlipType)
SavecallMethod("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)
SaveAddcallMethod("SaveAdd",[p1])
callMethod("SaveAdd",[p1,p2])
void SaveAdd(EncoderParameters encoderParams)
void SaveAdd(Image image, EncoderParameters encoderParams)
SelectActiveFrameSelectActiveFrame(p1,p2)int SelectActiveFrame(FrameDimension dimension, int frameIndex)
SetPropertyItemSetPropertyItem(p1)void SetPropertyItem(PropertyItem propitem)
ImageAnimator class sealed

System.Drawing.ImageAnimator · assembly System.Drawing.Common

Methods

MethodRing call.NET overloads
AnimateAnimate(p1,p2)static void Animate(Image image, EventHandler onFrameChangedHandler)
CanAnimateCanAnimate(p1)static bool CanAnimate(Image image)
StopAnimateStopAnimate(p1,p2)static void StopAnimate(Image image, EventHandler onFrameChangedHandler)
UpdateFramesUpdateFrames(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

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
CanConvertTocallMethod("CanConvertTo",[p1,p2])bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ConvertToConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ])object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
GetPropertiesGetProperties([ :context = …, :value = …, :attributes = … ])PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
GetPropertiesSupportedcallMethod("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

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
CanConvertTocallMethod("CanConvertTo",[p1,p2])bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ConvertToConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ])object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
GetStandardValuesGetStandardValues(value)
GetStandardValues([ :context = … ])
TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
GetStandardValuesSupportedcallMethod("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

NameTypeAccessIn Ring
Widthfloatread, writeo.Width o.Width = v
StartCapLineCapread, writeo.StartCap o.StartCap = v
EndCapLineCapread, writeo.EndCap o.EndCap = v
CustomStartCapCustomLineCapread, writeo.CustomStartCap o.CustomStartCap = v
CustomEndCapCustomLineCapread, writeo.CustomEndCap o.CustomEndCap = v
DashCapDashCapread, writeo.DashCap o.DashCap = v
LineJoinLineJoinread, writeo.LineJoin o.LineJoin = v
MiterLimitfloatread, writeo.MiterLimit o.MiterLimit = v
AlignmentPenAlignmentread, writeo.Alignment o.Alignment = v
TransformMatrixread, writeo.Transform o.Transform = v
PenTypePenTypereado.PenType
ColorColorread, writeo.Color o.Color = v
BrushBrushread, writeo.Brush o.Brush = v
DashStyleDashStyleread, writeo.DashStyle o.DashStyle = v
DashOffsetfloatread, writeo.DashOffset o.DashOffset = v
DashPatternfloat[]read, writeo.DashPattern o.DashPattern = v
CompoundArrayfloat[]read, writeo.CompoundArray o.CompoundArray = v

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])object Clone()
DisposecallMethod("Dispose",[])void Dispose()
MultiplyTransformcallMethod("MultiplyTransform",[p1])
callMethod("MultiplyTransform",[p1,p2])
void MultiplyTransform(Matrix matrix)
void MultiplyTransform(Matrix matrix, MatrixOrder order)
ResetTransformcallMethod("ResetTransform",[])void ResetTransform()
RotateTransformcallMethod("RotateTransform",[p1])
callMethod("RotateTransform",[p1,p2])
void RotateTransform(float angle)
void RotateTransform(float angle, MatrixOrder order)
ScaleTransformScaleTransform([ :sx = …, :sy = … ])
ScaleTransform([ :sx = …, :sy = …, :order = … ])
void ScaleTransform(float sx, float sy)
void ScaleTransform(float sx, float sy, MatrixOrder order)
SetLineCapSetLineCap(p1,p2,p3)void SetLineCap(LineCap startCap, LineCap endCap, DashCap dashCap)
TranslateTransformTranslateTransform([ :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

NameTypeAccessIn Ring
TransparentPenread · statico.Transparent
AliceBluePenread · statico.AliceBlue
AntiqueWhitePenread · statico.AntiqueWhite
AquaPenread · statico.Aqua
AquamarinePenread · statico.Aquamarine
AzurePenread · statico.Azure
BeigePenread · statico.Beige
BisquePenread · statico.Bisque
BlackPenread · statico.Black
BlanchedAlmondPenread · statico.BlanchedAlmond
BluePenread · statico.Blue
BlueVioletPenread · statico.BlueViolet
BrownPenread · statico.Brown
BurlyWoodPenread · statico.BurlyWood
CadetBluePenread · statico.CadetBlue
ChartreusePenread · statico.Chartreuse
ChocolatePenread · statico.Chocolate
CoralPenread · statico.Coral
CornflowerBluePenread · statico.CornflowerBlue
CornsilkPenread · statico.Cornsilk
CrimsonPenread · statico.Crimson
CyanPenread · statico.Cyan
DarkBluePenread · statico.DarkBlue
DarkCyanPenread · statico.DarkCyan
DarkGoldenrodPenread · statico.DarkGoldenrod
DarkGrayPenread · statico.DarkGray
DarkGreenPenread · statico.DarkGreen
DarkKhakiPenread · statico.DarkKhaki
DarkMagentaPenread · statico.DarkMagenta
DarkOliveGreenPenread · statico.DarkOliveGreen
DarkOrangePenread · statico.DarkOrange
DarkOrchidPenread · statico.DarkOrchid
DarkRedPenread · statico.DarkRed
DarkSalmonPenread · statico.DarkSalmon
DarkSeaGreenPenread · statico.DarkSeaGreen
DarkSlateBluePenread · statico.DarkSlateBlue
DarkSlateGrayPenread · statico.DarkSlateGray
DarkTurquoisePenread · statico.DarkTurquoise
DarkVioletPenread · statico.DarkViolet
DeepPinkPenread · statico.DeepPink
DeepSkyBluePenread · statico.DeepSkyBlue
DimGrayPenread · statico.DimGray
DodgerBluePenread · statico.DodgerBlue
FirebrickPenread · statico.Firebrick
FloralWhitePenread · statico.FloralWhite
ForestGreenPenread · statico.ForestGreen
FuchsiaPenread · statico.Fuchsia
GainsboroPenread · statico.Gainsboro
GhostWhitePenread · statico.GhostWhite
GoldPenread · statico.Gold
GoldenrodPenread · statico.Goldenrod
GrayPenread · statico.Gray
GreenPenread · statico.Green
GreenYellowPenread · statico.GreenYellow
HoneydewPenread · statico.Honeydew
HotPinkPenread · statico.HotPink
IndianRedPenread · statico.IndianRed
IndigoPenread · statico.Indigo
IvoryPenread · statico.Ivory
KhakiPenread · statico.Khaki
LavenderPenread · statico.Lavender
LavenderBlushPenread · statico.LavenderBlush
LawnGreenPenread · statico.LawnGreen
LemonChiffonPenread · statico.LemonChiffon
LightBluePenread · statico.LightBlue
LightCoralPenread · statico.LightCoral
LightCyanPenread · statico.LightCyan
LightGoldenrodYellowPenread · statico.LightGoldenrodYellow
LightGreenPenread · statico.LightGreen
LightGrayPenread · statico.LightGray
LightPinkPenread · statico.LightPink
LightSalmonPenread · statico.LightSalmon
LightSeaGreenPenread · statico.LightSeaGreen
LightSkyBluePenread · statico.LightSkyBlue
LightSlateGrayPenread · statico.LightSlateGray
LightSteelBluePenread · statico.LightSteelBlue
LightYellowPenread · statico.LightYellow
LimePenread · statico.Lime
LimeGreenPenread · statico.LimeGreen
LinenPenread · statico.Linen
MagentaPenread · statico.Magenta
MaroonPenread · statico.Maroon
MediumAquamarinePenread · statico.MediumAquamarine
MediumBluePenread · statico.MediumBlue
MediumOrchidPenread · statico.MediumOrchid
MediumPurplePenread · statico.MediumPurple
MediumSeaGreenPenread · statico.MediumSeaGreen
MediumSlateBluePenread · statico.MediumSlateBlue
MediumSpringGreenPenread · statico.MediumSpringGreen
MediumTurquoisePenread · statico.MediumTurquoise
MediumVioletRedPenread · statico.MediumVioletRed
MidnightBluePenread · statico.MidnightBlue
MintCreamPenread · statico.MintCream
MistyRosePenread · statico.MistyRose
MoccasinPenread · statico.Moccasin
NavajoWhitePenread · statico.NavajoWhite
NavyPenread · statico.Navy
OldLacePenread · statico.OldLace
OlivePenread · statico.Olive
OliveDrabPenread · statico.OliveDrab
OrangePenread · statico.Orange
OrangeRedPenread · statico.OrangeRed
OrchidPenread · statico.Orchid
PaleGoldenrodPenread · statico.PaleGoldenrod
PaleGreenPenread · statico.PaleGreen
PaleTurquoisePenread · statico.PaleTurquoise
PaleVioletRedPenread · statico.PaleVioletRed
PapayaWhipPenread · statico.PapayaWhip
PeachPuffPenread · statico.PeachPuff
PeruPenread · statico.Peru
PinkPenread · statico.Pink
PlumPenread · statico.Plum
PowderBluePenread · statico.PowderBlue
PurplePenread · statico.Purple
RedPenread · statico.Red
RosyBrownPenread · statico.RosyBrown
RoyalBluePenread · statico.RoyalBlue
SaddleBrownPenread · statico.SaddleBrown
SalmonPenread · statico.Salmon
SandyBrownPenread · statico.SandyBrown
SeaGreenPenread · statico.SeaGreen
SeaShellPenread · statico.SeaShell
SiennaPenread · statico.Sienna
SilverPenread · statico.Silver
SkyBluePenread · statico.SkyBlue
SlateBluePenread · statico.SlateBlue
SlateGrayPenread · statico.SlateGray
SnowPenread · statico.Snow
SpringGreenPenread · statico.SpringGreen
SteelBluePenread · statico.SteelBlue
TanPenread · statico.Tan
TealPenread · statico.Teal
ThistlePenread · statico.Thistle
TomatoPenread · statico.Tomato
TurquoisePenread · statico.Turquoise
VioletPenread · statico.Violet
WheatPenread · statico.Wheat
WhitePenread · statico.White
WhiteSmokePenread · statico.WhiteSmoke
YellowPenread · statico.Yellow
YellowGreenPenread · statico.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

NameTypeAccessIn Ring
IsEmptyboolreado.IsEmpty
Xintread, writeo.X o.X = v
Yintread, writeo.Y o.Y = v
EmptyPointread · statico.Empty

Methods

MethodRing call.NET overloads
AddAdd(p1,p2)static Point Add(Point pt, Size sz)
CeilingCeiling(p1)static Point Ceiling(PointF value)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Point other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
OffsetcallMethod("Offset",[p1])
callMethod("Offset",[p1,p2])
void Offset(int dx, int dy)
void Offset(Point p)
RoundRound(p1)static Point Round(PointF value)
SubtractSubtract(p1,p2)static Point Subtract(Point pt, Size sz)
ToStringcallMethod("ToString",[])string ToString()
TruncateTruncate(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

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
CanConvertTocallMethod("CanConvertTo",[p1,p2])bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ConvertToConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ])object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
CreateInstanceCreateInstance([ :context = …, :propertyValues = … ])object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
GetCreateInstanceSupportedcallMethod("GetCreateInstanceSupported",[p1])bool GetCreateInstanceSupported(ITypeDescriptorContext context)
GetPropertiesGetProperties([ :context = …, :value = …, :attributes = … ])PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
GetPropertiesSupportedcallMethod("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

NameTypeAccessIn Ring
IsEmptyboolreado.IsEmpty
Xfloatread, writeo.X o.X = v
Yfloatread, writeo.Y o.Y = v
EmptyPointFread · statico.Empty

Methods

MethodRing call.NET overloads
AddAdd(p1,p2)static PointF Add(PointF pt, Size sz)
static PointF Add(PointF pt, SizeF sz)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(PointF other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
SubtractSubtract(p1,p2)static PointF Subtract(PointF pt, Size sz)
static PointF Subtract(PointF pt, SizeF sz)
ToStringcallMethod("ToString",[])string ToString()
ToVector2callMethod("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

NameTypeAccessIn Ring
LocationPointread, writeo.Location o.Location = v
SizeSizeread, writeo.Size o.Size = v
Xintread, writeo.X o.X = v
Yintread, writeo.Y o.Y = v
Widthintread, writeo.Width o.Width = v
Heightintread, writeo.Height o.Height = v
Leftintreado.Left
Topintreado.Top
Rightintreado.Right
Bottomintreado.Bottom
IsEmptyboolreado.IsEmpty
EmptyRectangleread · statico.Empty

Methods

MethodRing call.NET overloads
CeilingCeiling(p1)static Rectangle Ceiling(RectangleF value)
ContainscallMethod("Contains",[p1])
callMethod("Contains",[p1,p2])
bool Contains(int x, int y)
bool Contains(Point pt)
bool Contains(Rectangle rect)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Rectangle other)
FromLTRBFromLTRB(p1,p2,p3,p4)static Rectangle FromLTRB(int left, int top, int right, int bottom)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
InflateInflate(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)
IntersectIntersect(value)
Intersect([ :rect = … ])
Intersect([ :a = …, :b = … ])
void Intersect(Rectangle rect)
static Rectangle Intersect(Rectangle a, Rectangle b)
IntersectsWithIntersectsWith(p1)bool IntersectsWith(Rectangle rect)
OffsetcallMethod("Offset",[p1])
callMethod("Offset",[p1,p2])
void Offset(Point pos)
void Offset(int x, int y)
RoundRound(p1)static Rectangle Round(RectangleF value)
ToStringcallMethod("ToString",[])string ToString()
TruncateTruncate(p1)static Rectangle Truncate(RectangleF value)
UnionUnion(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

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
CanConvertTocallMethod("CanConvertTo",[p1,p2])bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ConvertToConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ])object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
CreateInstanceCreateInstance([ :context = …, :propertyValues = … ])object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
GetCreateInstanceSupportedcallMethod("GetCreateInstanceSupported",[p1])bool GetCreateInstanceSupported(ITypeDescriptorContext context)
GetPropertiesGetProperties([ :context = …, :value = …, :attributes = … ])PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
GetPropertiesSupportedcallMethod("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

NameTypeAccessIn Ring
LocationPointFread, writeo.Location o.Location = v
SizeSizeFread, writeo.Size o.Size = v
Xfloatread, writeo.X o.X = v
Yfloatread, writeo.Y o.Y = v
Widthfloatread, writeo.Width o.Width = v
Heightfloatread, writeo.Height o.Height = v
Leftfloatreado.Left
Topfloatreado.Top
Rightfloatreado.Right
Bottomfloatreado.Bottom
IsEmptyboolreado.IsEmpty
EmptyRectangleFread · statico.Empty

Methods

MethodRing call.NET overloads
ContainscallMethod("Contains",[p1])
callMethod("Contains",[p1,p2])
bool Contains(float x, float y)
bool Contains(PointF pt)
bool Contains(RectangleF rect)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(RectangleF other)
FromLTRBFromLTRB(p1,p2,p3,p4)static RectangleF FromLTRB(float left, float top, float right, float bottom)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
InflateInflate(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)
IntersectIntersect(value)
Intersect([ :rect = … ])
Intersect([ :a = …, :b = … ])
void Intersect(RectangleF rect)
static RectangleF Intersect(RectangleF a, RectangleF b)
IntersectsWithIntersectsWith(p1)bool IntersectsWith(RectangleF rect)
OffsetcallMethod("Offset",[p1])
callMethod("Offset",[p1,p2])
void Offset(PointF pos)
void Offset(float x, float y)
ToStringcallMethod("ToString",[])string ToString()
ToVector4callMethod("ToVector4",[])Vector4 ToVector4()
UnionUnion(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

MethodRing call.NET overloads
ClonecallMethod("Clone",[])Region Clone()
ComplementComplement(p1)void Complement(RectangleF rect)
void Complement(Rectangle rect)
void Complement(GraphicsPath path)
void Complement(Region region)
DisposecallMethod("Dispose",[])void Dispose()
EqualsEquals(p1)bool Equals(Region region, Graphics g)
ExcludeExclude(p1)void Exclude(RectangleF rect)
void Exclude(Rectangle rect)
void Exclude(GraphicsPath path)
void Exclude(Region region)
FromHrgnFromHrgn(p1)static Region FromHrgn(IntPtr hrgn)
GetBoundscallMethod("GetBounds",[p1])RectangleF GetBounds(Graphics g)
GetHrgncallMethod("GetHrgn",[p1])IntPtr GetHrgn(Graphics g)
GetRegionDatacallMethod("GetRegionData",[])RegionData GetRegionData()
GetRegionScanscallMethod("GetRegionScans",[p1])RectangleF[] GetRegionScans(Matrix matrix)
IntersectIntersect(p1)void Intersect(RectangleF rect)
void Intersect(Rectangle rect)
void Intersect(GraphicsPath path)
void Intersect(Region region)
IsEmptyIsEmpty(p1)bool IsEmpty(Graphics g)
IsInfiniteIsInfinite(p1)bool IsInfinite(Graphics g)
IsVisiblecallMethod("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)
MakeEmptycallMethod("MakeEmpty",[])void MakeEmpty()
MakeInfinitecallMethod("MakeInfinite",[])void MakeInfinite()
ReleaseHrgnReleaseHrgn(p1)void ReleaseHrgn(IntPtr regionHandle)
TransformTransform(p1)void Transform(Matrix matrix)
TranslatecallMethod("Translate",[p1,p2])void Translate(float dx, float dy)
void Translate(int dx, int dy)
UnionUnion(p1)void Union(RectangleF rect)
void Union(Rectangle rect)
void Union(GraphicsPath path)
void Union(Region region)
XorXor(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

NameTypeAccessIn Ring
IsEmptyboolreado.IsEmpty
Widthintread, writeo.Width o.Width = v
Heightintread, writeo.Height o.Height = v
EmptySizeread · statico.Empty

Methods

MethodRing call.NET overloads
AddAdd(p1,p2)static Size Add(Size sz1, Size sz2)
CeilingCeiling(p1)static Size Ceiling(SizeF value)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Size other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
RoundRound(p1)static Size Round(SizeF value)
SubtractSubtract(p1,p2)static Size Subtract(Size sz1, Size sz2)
ToStringcallMethod("ToString",[])string ToString()
TruncateTruncate(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

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
CanConvertTocallMethod("CanConvertTo",[p1,p2])bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ConvertToConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ])object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
CreateInstanceCreateInstance([ :context = …, :propertyValues = … ])object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
GetCreateInstanceSupportedcallMethod("GetCreateInstanceSupported",[p1])bool GetCreateInstanceSupported(ITypeDescriptorContext context)
GetPropertiesGetProperties([ :context = …, :value = …, :attributes = … ])PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
GetPropertiesSupportedcallMethod("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

NameTypeAccessIn Ring
IsEmptyboolreado.IsEmpty
Widthfloatread, writeo.Width o.Width = v
Heightfloatread, writeo.Height o.Height = v
EmptySizeFread · statico.Empty

Methods

MethodRing call.NET overloads
AddAdd(p1,p2)static SizeF Add(SizeF sz1, SizeF sz2)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(SizeF other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
SubtractSubtract(p1,p2)static SizeF Subtract(SizeF sz1, SizeF sz2)
ToPointFcallMethod("ToPointF",[])PointF ToPointF()
ToSizecallMethod("ToSize",[])Size ToSize()
ToStringcallMethod("ToString",[])string ToString()
ToVector2callMethod("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

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
CanConvertTocallMethod("CanConvertTo",[p1,p2])bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ConvertToConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ])object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
CreateInstanceCreateInstance([ :context = …, :propertyValues = … ])object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
GetCreateInstanceSupportedcallMethod("GetCreateInstanceSupported",[p1])bool GetCreateInstanceSupported(ITypeDescriptorContext context)
GetPropertiesGetProperties([ :context = …, :value = …, :attributes = … ])PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
GetPropertiesSupportedcallMethod("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

NameTypeAccessIn Ring
ColorColorread, writeo.Color o.Color = v

Methods

MethodRing call.NET overloads
ClonecallMethod("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

NameTypeAccessIn Ring
FormatFlagsStringFormatFlagsread, writeo.FormatFlags o.FormatFlags = v
AlignmentStringAlignmentread, writeo.Alignment o.Alignment = v
LineAlignmentStringAlignmentread, writeo.LineAlignment o.LineAlignment = v
HotkeyPrefixHotkeyPrefixread, writeo.HotkeyPrefix o.HotkeyPrefix = v
TrimmingStringTrimmingread, writeo.Trimming o.Trimming = v
DigitSubstitutionMethodStringDigitSubstitutereado.DigitSubstitutionMethod
DigitSubstitutionLanguageintreado.DigitSubstitutionLanguage
GenericDefaultStringFormatread · statico.GenericDefault
GenericTypographicStringFormatread · statico.GenericTypographic

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])object Clone()
DisposecallMethod("Dispose",[])void Dispose()
GetTabStopsGetTabStops()float[] GetTabStops(out float firstTabOffset)
SetDigitSubstitutionSetDigitSubstitution(p1,p2)void SetDigitSubstitution(int language, StringDigitSubstitute substitute)
SetMeasurableCharacterRangesSetMeasurableCharacterRanges(p1)void SetMeasurableCharacterRanges(CharacterRange[] ranges)
SetTabStopsSetTabStops(p1,p2)void SetTabStops(float firstTabOffset, float[] tabStops)
ToStringcallMethod("ToString",[])string ToString()
SystemBrushes class static

System.Drawing.SystemBrushes · assembly System.Drawing.Common

Properties and fields

NameTypeAccessIn Ring
ActiveBorderBrushread · statico.ActiveBorder
ActiveCaptionBrushread · statico.ActiveCaption
ActiveCaptionTextBrushread · statico.ActiveCaptionText
AppWorkspaceBrushread · statico.AppWorkspace
ButtonFaceBrushread · statico.ButtonFace
ButtonHighlightBrushread · statico.ButtonHighlight
ButtonShadowBrushread · statico.ButtonShadow
ControlBrushread · statico.Control
ControlLightLightBrushread · statico.ControlLightLight
ControlLightBrushread · statico.ControlLight
ControlDarkBrushread · statico.ControlDark
ControlDarkDarkBrushread · statico.ControlDarkDark
ControlTextBrushread · statico.ControlText
DesktopBrushread · statico.Desktop
GradientActiveCaptionBrushread · statico.GradientActiveCaption
GradientInactiveCaptionBrushread · statico.GradientInactiveCaption
GrayTextBrushread · statico.GrayText
HighlightBrushread · statico.Highlight
HighlightTextBrushread · statico.HighlightText
HotTrackBrushread · statico.HotTrack
InactiveCaptionBrushread · statico.InactiveCaption
InactiveBorderBrushread · statico.InactiveBorder
InactiveCaptionTextBrushread · statico.InactiveCaptionText
InfoBrushread · statico.Info
InfoTextBrushread · statico.InfoText
MenuBrushread · statico.Menu
MenuBarBrushread · statico.MenuBar
MenuHighlightBrushread · statico.MenuHighlight
MenuTextBrushread · statico.MenuText
ScrollBarBrushread · statico.ScrollBar
WindowBrushread · statico.Window
WindowFrameBrushread · statico.WindowFrame
WindowTextBrushread · statico.WindowText

Methods

MethodRing call.NET overloads
FromSystemColorFromSystemColor(p1)static Brush FromSystemColor(Color c)
SystemColors class static

System.Drawing.SystemColors · assembly System.Drawing.Primitives

Properties and fields

NameTypeAccessIn Ring
ActiveBorderColorread · statico.ActiveBorder
ActiveCaptionColorread · statico.ActiveCaption
ActiveCaptionTextColorread · statico.ActiveCaptionText
AppWorkspaceColorread · statico.AppWorkspace
ButtonFaceColorread · statico.ButtonFace
ButtonHighlightColorread · statico.ButtonHighlight
ButtonShadowColorread · statico.ButtonShadow
ControlColorread · statico.Control
ControlDarkColorread · statico.ControlDark
ControlDarkDarkColorread · statico.ControlDarkDark
ControlLightColorread · statico.ControlLight
ControlLightLightColorread · statico.ControlLightLight
ControlTextColorread · statico.ControlText
DesktopColorread · statico.Desktop
GradientActiveCaptionColorread · statico.GradientActiveCaption
GradientInactiveCaptionColorread · statico.GradientInactiveCaption
GrayTextColorread · statico.GrayText
HighlightColorread · statico.Highlight
HighlightTextColorread · statico.HighlightText
HotTrackColorread · statico.HotTrack
InactiveBorderColorread · statico.InactiveBorder
InactiveCaptionColorread · statico.InactiveCaption
InactiveCaptionTextColorread · statico.InactiveCaptionText
InfoColorread · statico.Info
InfoTextColorread · statico.InfoText
MenuColorread · statico.Menu
MenuBarColorread · statico.MenuBar
MenuHighlightColorread · statico.MenuHighlight
MenuTextColorread · statico.MenuText
ScrollBarColorread · statico.ScrollBar
WindowColorread · statico.Window
WindowFrameColorread · statico.WindowFrame
WindowTextColorread · statico.WindowText
UseAlternativeColorSetboolread, write · statico.UseAlternativeColorSet o.UseAlternativeColorSet = v
SystemFonts class static

System.Drawing.SystemFonts · assembly System.Drawing.Common

Properties and fields

NameTypeAccessIn Ring
CaptionFontFontread · statico.CaptionFont
SmallCaptionFontFontread · statico.SmallCaptionFont
MenuFontFontread · statico.MenuFont
StatusFontFontread · statico.StatusFont
MessageBoxFontFontread · statico.MessageBoxFont
IconTitleFontFontread · statico.IconTitleFont
DefaultFontFontread · statico.DefaultFont
DialogFontFontread · statico.DialogFont

Methods

MethodRing call.NET overloads
GetFontByNameGetFontByName(p1)static Font GetFontByName(string systemFontName)
SystemIcons class static

System.Drawing.SystemIcons · assembly System.Drawing.Common

Properties and fields

NameTypeAccessIn Ring
ApplicationIconread · statico.Application
AsteriskIconread · statico.Asterisk
ErrorIconread · statico.Error
ExclamationIconread · statico.Exclamation
HandIconread · statico.Hand
InformationIconread · statico.Information
QuestionIconread · statico.Question
WarningIconread · statico.Warning
WinLogoIconread · statico.WinLogo
ShieldIconread · statico.Shield

Methods

MethodRing call.NET overloads
GetStockIconGetStockIcon([ :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

NameTypeAccessIn Ring
ActiveBorderPenread · statico.ActiveBorder
ActiveCaptionPenread · statico.ActiveCaption
ActiveCaptionTextPenread · statico.ActiveCaptionText
AppWorkspacePenread · statico.AppWorkspace
ButtonFacePenread · statico.ButtonFace
ButtonHighlightPenread · statico.ButtonHighlight
ButtonShadowPenread · statico.ButtonShadow
ControlPenread · statico.Control
ControlTextPenread · statico.ControlText
ControlDarkPenread · statico.ControlDark
ControlDarkDarkPenread · statico.ControlDarkDark
ControlLightPenread · statico.ControlLight
ControlLightLightPenread · statico.ControlLightLight
DesktopPenread · statico.Desktop
GradientActiveCaptionPenread · statico.GradientActiveCaption
GradientInactiveCaptionPenread · statico.GradientInactiveCaption
GrayTextPenread · statico.GrayText
HighlightPenread · statico.Highlight
HighlightTextPenread · statico.HighlightText
HotTrackPenread · statico.HotTrack
InactiveBorderPenread · statico.InactiveBorder
InactiveCaptionPenread · statico.InactiveCaption
InactiveCaptionTextPenread · statico.InactiveCaptionText
InfoPenread · statico.Info
InfoTextPenread · statico.InfoText
MenuPenread · statico.Menu
MenuBarPenread · statico.MenuBar
MenuHighlightPenread · statico.MenuHighlight
MenuTextPenread · statico.MenuText
ScrollBarPenread · statico.ScrollBar
WindowPenread · statico.Window
WindowFramePenread · statico.WindowFrame
WindowTextPenread · statico.WindowText

Methods

MethodRing call.NET overloads
FromSystemColorFromSystemColor(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

NameTypeAccessIn Ring
TransformMatrixread, writeo.Transform o.Transform = v
WrapModeWrapModeread, writeo.WrapMode o.WrapMode = v
ImageImagereado.Image

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])object Clone()
MultiplyTransformcallMethod("MultiplyTransform",[p1])
callMethod("MultiplyTransform",[p1,p2])
void MultiplyTransform(Matrix matrix)
void MultiplyTransform(Matrix matrix, MatrixOrder order)
ResetTransformcallMethod("ResetTransform",[])void ResetTransform()
RotateTransformcallMethod("RotateTransform",[p1])
callMethod("RotateTransform",[p1,p2])
void RotateTransform(float angle)
void RotateTransform(float angle, MatrixOrder order)
ScaleTransformScaleTransform([ :sx = …, :sy = … ])
ScaleTransform([ :sx = …, :sy = …, :order = … ])
void ScaleTransform(float sx, float sy)
void ScaleTransform(float sx, float sy, MatrixOrder order)
TranslateTransformTranslateTransform([ :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

NameTypeAccessIn Ring
DefaultToolboxBitmapAttributeread · statico.Default

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object value)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
GetImageGetImage(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)
GetImageFromResourceGetImageFromResource(p1,p2,p3)static Image GetImageFromResource(Type t, string imageName, bool large)

Members of the base class are inherited.