BioLib  3.6.2
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
 

Detailed Description

Definition at line 12 of file Graphics.cs.

Constructor & Destructor Documentation

◆ Pen() [1/2]

Bio.Graphics.Pen.Pen ( ColorS col,
ushort w,
int bitsPerPixel )

Definition at line 18 of file Graphics.cs.

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 )

Definition at line 25 of file Graphics.cs.

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

Definition at line 32 of file Graphics.cs.

33 {
34 color.Dispose();
35 }

Member Data Documentation

◆ bitsPerPixel

byte Bio.Graphics.Pen.bitsPerPixel

Definition at line 16 of file Graphics.cs.

◆ color

ColorS Bio.Graphics.Pen.color

Definition at line 14 of file Graphics.cs.

◆ width

ushort Bio.Graphics.Pen.width

Definition at line 15 of file Graphics.cs.


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