Class NetGraphics
Inheritance
System.Object
NetGraphics
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Azos.Platform.Abstraction.NetFramework.Graphics
Assembly: Azos.Platform.NetFramework.dll
Syntax
public sealed class NetGraphics : IPALGraphics
Properties
CanvasOwnsAssets
This GDI+ implementation allows to create assets outside of GDI+.Graphics scope
Declaration
public bool CanvasOwnsAssets { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
CreateImage(Byte[])
Declaration
public IPALImage CreateImage(byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data |
Returns
Type | Description |
---|---|
IPALImage |
CreateImage(Size, Size, ImagePixelFormat)
Declaration
public IPALImage CreateImage(Size size, Size resolution, ImagePixelFormat pixFormat)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Size | size | |
System.Drawing.Size | resolution | |
ImagePixelFormat | pixFormat |
Returns
Type | Description |
---|---|
IPALImage |
CreateImage(Stream)
Declaration
public IPALImage CreateImage(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Returns
Type | Description |
---|---|
IPALImage |
CreateImage(String)
Declaration
public IPALImage CreateImage(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
Returns
Type | Description |
---|---|
IPALImage |