Class Dot
Represents coordinate information is detected by sensor of pen.
Inherited Members
Namespace: Neosmartpen.Net
Assembly: Neosmartpen.Net.dll
Syntax
public class Dot
Constructors
| Edit this page View SourceDot()
A constructor that constructs a Dot object
Declaration
public Dot()
Dot(int, int, int, int, long, float, float, int, DotTypes, int)
A constructor that constructs a Dot object
Declaration
public Dot(int owner, int section, int note, int page, long timestamp, float x, float y, int force, DotTypes type, int color)
Parameters
| Type | Name | Description |
|---|---|---|
| int | owner | The Owner Id of the NCode paper |
| int | section | The Section Id of the NCode paper |
| int | note | The Note Id of the NCode paper |
| int | page | The Page Number of the NCode paper |
| long | timestamp | the timestamp of the dot |
| float | x | the x coordinates of NCode cell |
| float | y | the y coordinates of NCode cell |
| int | force | the pressure of the dot |
| DotTypes | type | the type of the dot |
| int | color | the color of the dot |
Dot(int, int, int, int, long, float, float, int, int, int, int, DotTypes, int)
A constructor that constructs a Dot object
Declaration
public Dot(int owner, int section, int note, int page, long timestamp, float x, float y, int tiltX, int tiltY, int twist, int force, DotTypes type, int color)
Parameters
| Type | Name | Description |
|---|---|---|
| int | owner | The Owner Id of the NCode paper |
| int | section | The Section Id of the NCode paper |
| int | note | The Note Id of the NCode paper |
| int | page | The Page Number of the NCode paper |
| long | timestamp | the timestamp of the dot |
| float | x | the x coordinates of NCode cell |
| float | y | the y coordinates of NCode cell |
| int | tiltX | |
| int | tiltY | |
| int | twist | |
| int | force | the pressure of the dot |
| DotTypes | type | the type of the dot |
| int | color | the color of the dot |
Properties
| Edit this page View SourceColor
Gets or sets the color of the dot
Declaration
public int Color { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DotType
Gets or sets the type of the dot
Declaration
public DotTypes DotType { get; set; }
Property Value
| Type | Description |
|---|---|
| DotTypes |
Force
Gets or sets the pressure of the dot
Declaration
public int Force { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Note
The Note Id of the NCode paper
Declaration
public int Note { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Owner
The Owner Id of the NCode paper
Declaration
public int Owner { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Page
The Page Number of the NCode paper
Declaration
public int Page { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Section
The Section Id of the NCode paper
Declaration
public int Section { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TiltX
Gets the tilt x of the pen
Declaration
public int TiltX { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TiltY
Gets the tilt x of the pen
Declaration
public int TiltY { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Timestamp
Gets or sets the timestamp of the dot
Declaration
public long Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Twist
Gets the twist degree of the pen
Declaration
public int Twist { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
X
Gets or sets the x coordinates of NCode cell.
( NCode's cell size is 2.371mm )
Declaration
public float X { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Y
Gets or sets the y coordinates of NCode cell.
( NCode's cell size is 2.371mm )
Declaration
public float Y { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
| Edit this page View SourceClone()
Declaration
public Dot Clone()
Returns
| Type | Description |
|---|---|
| Dot |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |