BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
Loading...
Searching...
No Matches
BioImager.Graphics.Pen Struct Reference
Inheritance diagram for BioImager.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 10 of file Graphics.cs.

Constructor & Destructor Documentation

◆ Pen() [1/2]

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

Definition at line 15 of file Graphics.cs.

16 {
17 color = col;
18 width = w;
19 this.bitsPerPixel = (byte)bitsPerPixel;
20 }

◆ Pen() [2/2]

BioImager.Graphics.Pen.Pen ( ColorS  col,
int  w,
int  bitsPerPixel 
)

Definition at line 21 of file Graphics.cs.

22 {
23 color = col;
24 width = (ushort)w;
25 this.bitsPerPixel = (byte)bitsPerPixel;
26 }

Member Function Documentation

◆ Dispose()

void BioImager.Graphics.Pen.Dispose ( )

Definition at line 27 of file Graphics.cs.

28 {
29 color.Dispose();
30 }

Member Data Documentation

◆ bitsPerPixel

byte BioImager.Graphics.Pen.bitsPerPixel

Definition at line 14 of file Graphics.cs.

◆ color

ColorS BioImager.Graphics.Pen.color

Definition at line 12 of file Graphics.cs.

◆ width

ushort BioImager.Graphics.Pen.width

Definition at line 13 of file Graphics.cs.


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