BioLib  3.7.0
A GUI-less version of Bio .NET library for editing & annotating various microscopy image formats.
Loading...
Searching...
No Matches
Bio.Graphics.Pen Struct Reference
Inheritance diagram for Bio.Graphics.Pen:

Public Member Functions

 Pen (ColorS col, ushort w, int bitsPerPixel)
 
 Pen (ColorS col, int w, int bitsPerPixel)
 
void Dispose ()
 

Public Attributes

ColorS color
 
ushort width
 
byte bitsPerPixel
 

Constructor & Destructor Documentation

◆ Pen() [1/2]

Bio.Graphics.Pen.Pen ( ColorS col,
ushort w,
int bitsPerPixel )
19 {
20 color = col;
21 width = w;
22 this.bitsPerPixel = (byte)bitsPerPixel;
23 }

◆ Pen() [2/2]

Bio.Graphics.Pen.Pen ( ColorS col,
int w,
int bitsPerPixel )
26 {
27 color = col;
28 width = (ushort)w;
29 this.bitsPerPixel = (byte)bitsPerPixel;
30 }

Member Function Documentation

◆ Dispose()

void Bio.Graphics.Pen.Dispose ( )

Dispose() is a function that is called when the object is no longer needed

33 {
34 color.Dispose();
35 }

The documentation for this struct was generated from the following file: