Graphics Class |
Namespace: SIC.Draw
The Graphics type exposes the following members.
| Name | Description | |
|---|---|---|
| Graphics(Byte) |
Initializes a new instance of the Graphics class.
Constructor with bytes parameter
| |
| Graphics(Stream) |
Initializes a new instance of the Graphics class.
Constructor with stream parameter.
| |
| Graphics(String) |
Initializes a new instance of the Graphics class.
Constructor with file name parameter and it's load this file.
|
| Name | Description | |
|---|---|---|
| Bytes |
Original bytes of image
| |
| File |
Graphics file name to load
| |
| FileExtension |
File extension for Joint Photographic Experts Group (JPEG) image format
| |
| FileToSave |
Graphics file name to save
|
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetGraphicsAsByte |
Gives graphics as byte array
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Load |
Load graphics from Bytes (when exists)
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Save |
Graphics save to file
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WriteText |
Write text to graphics
|
SIC.Draw.Graphics lGraphics = new SIC.Draw.Graphics("TestImage.jpeg"); lGraphics.WriteText("Test title...", 10, 10); lGraphics.Save("TestResultImage.jpeg");