BioCore  5.0.0
A Windows .NET microscopy library and application for viewing, editing, and annotating images.
Loading...
Searching...
No Matches
BioCore.Pen Struct Reference
Inheritance diagram for BioCore.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 4 of file Graphics.cs.

Constructor & Destructor Documentation

◆ Pen() [1/2]

BioCore.Pen.Pen ( ColorS col,
ushort w,
int bitsPerPixel )

Definition at line 9 of file Graphics.cs.

10 {
11 color = col;
12 width = w;
13 this.bitsPerPixel = (byte)bitsPerPixel;
14 }
ColorS color
Definition Graphics.cs:6
ushort width
Definition Graphics.cs:7
byte bitsPerPixel
Definition Graphics.cs:8

◆ Pen() [2/2]

BioCore.Pen.Pen ( ColorS col,
int w,
int bitsPerPixel )

Definition at line 15 of file Graphics.cs.

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

Member Function Documentation

◆ Dispose()

void BioCore.Pen.Dispose ( )

Definition at line 21 of file Graphics.cs.

22 {
23 color.Dispose();
24 }

Member Data Documentation

◆ bitsPerPixel

byte BioCore.Pen.bitsPerPixel

Definition at line 8 of file Graphics.cs.

◆ color

ColorS BioCore.Pen.color

Definition at line 6 of file Graphics.cs.

◆ width

ushort BioCore.Pen.width

Definition at line 7 of file Graphics.cs.


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