System.Drawing Ad Alanı
GDI+ temel grafik işlevselliğine erişim sağlar. Provides access to GDI+ basic graphics functionality. Daha gelişmiş işlevler System.Drawing.Drawing2D , System.Drawing.Imaging , ve System.Drawing.Text ad alanlarında sağlanır. More advanced functionality is provided in the System.Drawing.Drawing2D, System.Drawing.Imaging, and System.Drawing.Text namespaces.
Sınıflar
| Bitmap |
Bir grafik görüntüsü ve öznitelikleri için piksel verilerinden oluşan bir GDI+ bit eşlemini kapsüller.Encapsulates a GDI+ bitmap, which consists of the pixel data for a graphics image and its attributes. Bitmap, Piksel verileri tarafından tanımlanan görüntülerle çalışmak için kullanılan bir nesnedir.A Bitmap is an object used to work with images defined by pixel data. |
| BitmapSuffixInSameAssemblyAttribute |
Bildirimleri yorumlarken, ToolboxBitmapAttribute derlemenin aynı derlemede belirtilen kaynakları araması gerektiğini, ancak BitmapSuffix bildirilen dosya adına yapılandırma değeri olarak ekleneceğini belirtir.Specifies that, when interpreting ToolboxBitmapAttribute declarations, the assembly should look for the indicated resources in the same assembly, but with the BitmapSuffix configuration value appended to the declared file name. |
| BitmapSuffixInSatelliteAssemblyAttribute |
Bildirimleri yorumlarken, ToolboxBitmapAttribute derlemenin bir uydu derlemesinde belirtilen kaynakları araması gerektiğini, ancak BitmapSuffix bildirilen dosya adına yapılandırma değeri olarak ekleneceğini belirtir.Specifies that, when interpreting ToolboxBitmapAttribute declarations, the assembly should look for the indicated resources in a satellite assembly, but with the BitmapSuffix configuration value appended to the declared file name. |
| Brush |
Dikdörtgenler, üç nokta, ince, çokgenler ve yollar gibi grafik şekillerin özelliklerini dolduracak şekilde kullanılan nesneleri tanımlar.Defines objects used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths. |
| Brushes |
Tüm standart renkler için fırçalar.Brushes for all the standard colors. Bu sınıf devralınamaz.This class cannot be inherited. |
| BufferedGraphics |
Çift arabelleğe alma için bir grafik arabelleği sağlar.Provides a graphics buffer for double buffering. |
| BufferedGraphicsContext |
, Çift arabelleğe alma için kullanılabilecek grafik arabellekleri oluşturmak için yöntemler sağlar.Provides methods for creating graphics buffers that can be used for double buffering. |
| BufferedGraphicsManager |
Uygulama etki alanı için ana arabellekli grafik bağlamı nesnesine erişim sağlar.Provides access to the main buffered graphics context object for the application domain. |
| ColorConverter |
Renkleri bir veri türünden diğerine dönüştürür.Converts colors from one data type to another. Bu sınıfa aracılığıyla erişin TypeDescriptor .Access this class through the TypeDescriptor. |
| ColorTranslator |
Renkleri GDI+ yapılarına ve bu Color yapılara çevirir.Translates colors to and from GDI+ Color structures. Bu sınıf devralınamaz.This class cannot be inherited. |
| Font |
Metin için yazı tipi yüzü, boyut ve stil öznitelikleri gibi belirli bir biçimi tanımlar.Defines a particular format for text, including font face, size, and style attributes. Bu sınıf devralınamaz.This class cannot be inherited. |
| FontConverter |
FontNesneleri bir veri türünden diğerine dönüştürür.Converts Font objects from one data type to another. |
| FontConverter.FontNameConverter |
FontConverter.FontNameConverter , bir yazı tipi adını diğer birçok gösterimden ve bu türden dönüştürmek için kullanılan bir tür dönüştürücütür.FontConverter.FontNameConverter is a type converter that is used to convert a font name to and from various other representations. |
| FontConverter.FontUnitConverter |
Yazı tipi birimlerini diğer birim türlerine ve bu türlerden dönüştürür.Converts font units to and from other unit types. |
| FontFamily |
Benzer bir temel tasarıma ve stillerde belirli çeşitlere sahip yüztür bir grubu tanımlar.Defines a group of type faces having a similar basic design and certain variations in styles. Bu sınıf devralınamaz.This class cannot be inherited. |
| Graphics |
Bir GDI+ çizim yüzeyini kapsüller.Encapsulates a GDI+ drawing surface. Bu sınıf devralınamaz.This class cannot be inherited. |
| Icon |
Bir nesneyi temsil etmek için kullanılan küçük bir bit eşlem görüntüsü olan bir Windows simgesini temsil eder.Represents a Windows icon, which is a small bitmap image that is used to represent an object. Simgeleri, boyutu sistem tarafından belirlense de saydam bit eşlemler olarak düşünülebilir.Icons can be thought of as transparent bitmaps, although their size is determined by the system. |
| IconConverter |
Bir Icon nesneyi bir veri türünden diğerine dönüştürür.Converts an Icon object from one data type to another. Bu sınıfa nesnesi aracılığıyla erişin TypeDescriptor .Access this class through the TypeDescriptor object. |
| Image |
Ve alt öğelerinden oluşan sınıflar için işlevsellik sağlayan soyut temel sınıf Bitmap Metafile .An abstract base class that provides functionality for the Bitmap and Metafile descended classes. |
| ImageAnimator |
Zamana dayalı çerçeveler içeren bir görüntünün animasyonunu yapar.Animates an image that has time-based frames. |
| ImageConverter |
ImageConverterImagenesneleri bir veri türünden diğerine dönüştürmek için kullanılabilen bir sınıftır.ImageConverter is a class that can be used to convert Image objects from one data type to another. Bu sınıfa nesnesi aracılığıyla erişin TypeDescriptor .Access this class through the TypeDescriptor object. |
| ImageFormatConverter |
ImageFormatConverterImageFormatnesneleri bir veri türünden diğerine dönüştürmek için kullanılabilen bir sınıftır.ImageFormatConverter is a class that can be used to convert ImageFormat objects from one data type to another. Bu sınıfa nesnesi aracılığıyla erişin TypeDescriptor .Access this class through the TypeDescriptor object. |
| Pen |
Çizgi ve eğrileri çizmek için kullanılan bir nesneyi tanımlar.Defines an object used to draw lines and curves. Bu sınıf devralınamaz.This class cannot be inherited. |
| Pens |
Tüm standart renklerin kalemleri.Pens for all the standard colors. Bu sınıf devralınamaz.This class cannot be inherited. |
| PointConverter |
Bir Point nesneyi bir veri türünden diğerine dönüştürür.Converts a Point object from one data type to another. |
| RectangleConverter |
Dikdörtgenleri bir veri türünden diğerine dönüştürür.Converts rectangles from one data type to another. Bu sınıfa aracılığıyla erişin TypeDescriptor .Access this class through the TypeDescriptor. |
| Region |
Dikdörtgenler ve yollardan oluşan bir grafik şeklinin iç kısmını açıklar.Describes the interior of a graphics shape composed of rectangles and paths. Bu sınıf devralınamaz.This class cannot be inherited. |
| SizeConverter |
SizeConverterSınıfı, bir veri türünden diğerine dönüştürmek için kullanılır.The SizeConverter class is used to convert from one data type to another. Bu sınıfa nesnesi aracılığıyla erişin TypeDescriptor .Access this class through the TypeDescriptor object. |
| SizeFConverter |
SizeFNesneleri bir türden diğerine dönüştürür.Converts SizeF objects from one type to another. |
| SolidBrush |
Tek bir rengin bir fırçasını tanımlar.Defines a brush of a single color. Fırçalar, dikdörtgenler, dörtgenler, çokgenler ve yollar gibi grafik şekillerini dolduracak şekilde kullanılır.Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths. Bu sınıf devralınamaz.This class cannot be inherited. |
| StringFormat |
Metin düzeni bilgilerini (hizalama, yön ve sekme durakları gibi), düzenlemeleri (üç nokta ekleme ve Ulusal basamak değiştirme gibi) ve OpenType özelliklerini kapsar.Encapsulates text layout information (such as alignment, orientation and tab stops) display manipulations (such as ellipsis insertion and national digit substitution) and OpenType features. Bu sınıf devralınamaz.This class cannot be inherited. |
| SystemBrushes |
Sınıfının her özelliği, SystemBrushes bir SolidBrush Windows görüntüleme öğesinin rengidir.Each property of the SystemBrushes class is a SolidBrush that is the color of a Windows display element. |
| SystemColors |
Sınıfının her özelliği, bir SystemColors Color Windows görüntüleme öğesinin rengi olan bir yapıdır.Each property of the SystemColors class is a Color structure that is the color of a Windows display element. |
| SystemFonts |
Windows görüntüleme öğelerinde metin göstermek için kullanılan yazı tiplerini belirtir.Specifies the fonts used to display text in Windows display elements. |
| SystemIcons |
Sınıfının her özelliği SystemIcons , Icon Windows sistem genelinde simgeler için bir nesnedir.Each property of the SystemIcons class is an Icon object for Windows system-wide icons. Bu sınıf devralınamaz.This class cannot be inherited. |
| SystemPens |
Sınıfının her özelliği, bir SystemPens Pen Windows görüntüleme öğesinin rengi ve 1 piksel genişliğine sahiptir.Each property of the SystemPens class is a Pen that is the color of a Windows display element and that has a width of 1 pixel. |
| TextureBrush |
Sınıfının her özelliği, TextureBrush Brush bir şeklin iç kısmını dolduracak bir görüntü kullanan bir nesnedir.Each property of the TextureBrush class is a Brush object that uses an image to fill the interior of a shape. Bu sınıf devralınamaz.This class cannot be inherited. |
| ToolboxBitmapAttribute |
Microsoft Visual Studio Form Tasarımcısı gibi, kapsayıcıda bir denetimi temsil eden bir simge belirtmenize olanak tanır.Allows you to specify an icon to represent a control in a container, such as the Microsoft Visual Studio Form Designer. |
Yapılar
| CharacterRange |
Bir dize içinde bir karakter konumları aralığı belirtir.Specifies a range of character positions within a string. |
| Color |
Bir ARGB (Alfa, kırmızı, yeşil, mavi) rengi temsil eder.Represents an ARGB (alpha, red, green, blue) color. |
| Point |
İki boyutlu düzlemde bir noktayı tanımlayan sıralı bir tamsayı x ve y koordinatları çiftini temsil eder.Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane. |
| PointF |
İki boyutlu düzlemde bir noktayı tanımlayan sıralı bir kayan noktalı x ve y koordinatları çiftini temsil eder.Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane. |
| Rectangle |
Bir dikdörtgenin konumunu ve boyutunu temsil eden dört tamsayının bir kümesini depolar.Stores a set of four integers that represent the location and size of a rectangle. |
| RectangleF |
Bir dikdörtgenin konumunu ve boyutunu temsil eden dört kayan noktalı sayı kümesi depolar.Stores a set of four floating-point numbers that represent the location and size of a rectangle. Daha gelişmiş bölge işlevleri için bir nesnesi kullanın Region .For more advanced region functions, use a Region object. |
| Size |
Ve belirten sıralı tamsayılar çiftini depolar Height Width .Stores an ordered pair of integers, which specify a Height and Width. |
| SizeF |
Genellikle bir dikdörtgenin genişliği ve yüksekliği gibi sıralı bir kayan noktalı sayı çifti depolar.Stores an ordered pair of floating-point numbers, typically the width and height of a rectangle. |
Arabirimler
| IDeviceContext |
Var olan bir tanıtıcıyı Windows cihaz bağlamına alma ve serbest bırakma yöntemlerini tanımlar.Defines methods for obtaining and releasing an existing handle to a Windows device context. |
Numaralandırmalar
| ContentAlignment |
Çizim yüzeyindeki içeriğin hizalamasını belirtir.Specifies alignment of content on the drawing surface. |
| CopyPixelOperation |
Bir piksel kopyalama işlemindeki kaynak rengin, son renge neden olacak şekilde hedef renkle nasıl birleştirileceğini belirler.Determines how the source color in a copy pixel operation is combined with the destination color to result in a final color. |
| FontStyle |
Metne uygulanan stil bilgisini belirtir.Specifies style information applied to text. |
| GraphicsUnit |
Verilen veriler için ölçü birimini belirtir.Specifies the unit of measure for the given data. |
| KnownColor |
Bilinen sistem renklerini belirtir.Specifies the known system colors. |
| RotateFlipType |
Görüntünün ne kadar döndürüldüğü ve görüntüyü çevirmek için kullanılan ekseni belirtir.Specifies how much an image is rotated and the axis used to flip the image. |
| StringAlignment |
Bir metin dizesinin düzen dikdörtgenine göre hizalamasını belirtir.Specifies the alignment of a text string relative to its layout rectangle. |
| StringDigitSubstitute |
StringDigitSubstituteSabit listesi, bir dizedeki basamakların bir kullanıcının yerel ayarına veya diline göre nasıl değiştirileceğini belirtir.The StringDigitSubstitute enumeration specifies how to substitute digits in a string according to a user's locale or language. |
| StringFormatFlags |
Metin dizelerinin görüntüleme ve yerleşim bilgilerini belirtir.Specifies the display and layout information for text strings. |
| StringTrimming |
Bir düzen şekline tamamen sığmayan bir dizeden karakterlerin nasıl kırpılıp kırpalınacağını belirtir.Specifies how to trim characters from a string that does not completely fit into a layout shape. |
| StringUnit |
Bir metin dizesinin ölçü birimlerini belirtir.Specifies the units of measure for a text string. |
Temsilciler
| Graphics.DrawImageAbort |
DrawImageMetodun yürütmeyi erken iptal edip bir görüntüyü çizmeyi durdurmasını seçerken karar vermek için bir geri çağırma yöntemi sağlar.Provides a callback method for deciding when the DrawImage method should prematurely cancel execution and stop drawing an image. |
| Graphics.EnumerateMetafileProc |
Yöntemi için bir geri arama yöntemi sağlar EnumerateMetafile .Provides a callback method for the EnumerateMetafile method. |
| Image.GetThumbnailImageAbort |
GetThumbnailImage(Int32, Int32, Image+GetThumbnailImageAbort, IntPtr)Metodun yürütmeyi erken iptal etmesi gerektiğini belirlemek için bir geri arama yöntemi sağlar.Provides a callback method for determining when the GetThumbnailImage(Int32, Int32, Image+GetThumbnailImageAbort, IntPtr) method should prematurely cancel execution. |
Açıklamalar
Dikkat
System.DrawingWindows Hizmetleri, ASP.NET Core ve ASP.NET içinde desteklenmediğinden, bu ad alanı yeni geliştirme için önerilmez.TheSystem.Drawingnamespace is not recommended for new development, because it's not supported within Windows services, ASP.NET Core, and ASP.NET.System.DrawingBu uygulama türlerinden birindeki sınıfları kullanmaya çalışılması, çalışma zamanı özel durumları ve azalmayan hizmet performansına neden olabilir.Attempting to useSystem.Drawingclasses within one of these application types may result in run-time exceptions and diminished service performance. Önerilen alternatifler, ımasolid p, Skiasharpve Windows Imaging bileşenleriiçerir.Recommended alternatives include ImageSharp, SkiaSharp, and Windows Imaging Components.- Windows üzerinde,
System.Drawingişletim sisteminin bir parçası olarak GÖNDERILEN GDI+ yerel kitaplığına bağımlıdır.On Windows,System.Drawingdepends on the GDI+ native library, which is shipped as part of the OS. Windows Server Core veya Windows nano gibi bazı Windows SKU 'Ları, işletim sisteminin parçası olarak bu yerel kitaplığı içermez.Some Windows SKUs, like Windows Server Core or Windows Nano, don't include this native library as part of the OS. Kitaplık yüklenemediğinden özel durumlar çalışma zamanında oluşturulur.Exceptions will be thrown at run time because the library can't be loaded.
GraphicsSınıfı, görüntüleme cihazına çizim için yöntemler sağlar.The Graphics class provides methods for drawing to the display device. Ve gibi sınıflar Rectangle , Point GDI+ temel öğelerini kapsüller.Classes such as Rectangle and Point encapsulate GDI+ primitives. PenSınıf çizgiler ve eğriler çizmek için kullanılır, ancak soyut sınıftan türetilmiş sınıflar Brush şekillerin özelliklerini dolduracak şekilde kullanılır.The Pen class is used to draw lines and curves, while classes derived from the abstract class Brush are used to fill the interiors of shapes.
Dikkat
System.DrawingAd alanı içindeki sınıflar bir Windows veya ASP.net hizmeti içinde kullanım için desteklenmez.Classes within the System.Drawing namespace are not supported for use within a Windows or ASP.NET service. Bu uygulama türlerinden biri içinden bu sınıfların kullanılmaya çalışılması, azalmayan hizmet performansı ve çalışma zamanı özel durumları gibi beklenmedik sorunlar oluşturabilir.Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions. Desteklenen bir alternatif için bkz. Windows görüntüleme bileşenleri.For a supported alternative, see Windows Imaging Components.