PenCursor Class |
Namespace: TouchScript.Behaviors.Cursors
public class PenCursor : TextPointerCursor<PenPointer>
The PenCursor type exposes the following members.
Name | Description | |
---|---|---|
![]() | Size |
Cursor size in pixels.
(Inherited from PointerCursor.) |
Name | Description | |
---|---|---|
![]() | generateText |
Generates text for pointer.
(Overrides TextPointerCursorTgenerateText(T, StringBuilder).) |
![]() | gethash |
Typed version of getPointerHash(IPointer). Returns a hash of a cursor state.
(Overrides TextPointerCursorTgethash(T).) |
![]() | getPointerHash |
Returns pointer hash.
(Inherited from TextPointerCursorT.) |
![]() | hide |
Hides (clears) this instance.
(Inherited from PointerCursor.) |
![]() | Hide |
Hides this instance.
(Inherited from PointerCursor.) |
![]() | Init |
Initializes (resets) the cursor.
(Inherited from PointerCursor.) |
![]() | SetState |
Sets the state of the cursor.
(Inherited from PointerCursor.) |
![]() | show |
Shows this instance.
(Inherited from PointerCursor.) |
![]() | textIsVisible |
Indicates if text should be visible.
(Overrides TextPointerCursorTtextIsVisible.) |
![]() | update |
This method is called every time when the pointer changes.
(Inherited from PointerCursor.) |
![]() | updateOnce |
This method is called once when the cursor is initialized.
(Overrides TextPointerCursorTupdateOnce(IPointer).) |
![]() | UpdatePointer |
Updates the pointer. This method is called when the pointer is moved.
(Inherited from PointerCursor.) |
Name | Description | |
---|---|---|
![]() | DefaultCursor |
Default cursor sub object.
|
![]() | defaultSize |
Initial cursor size in pixels.
(Inherited from PointerCursor.) |
![]() | hash |
Last data hash.
(Inherited from PointerCursor.) |
![]() | PressedCursor |
Pressed cursor sub object.
|
![]() | rect |
Cached RectTransform.
(Inherited from PointerCursor.) |
![]() | ShowButtons |
Should the value of Buttons be shown on the cursor.
|
![]() | ShowFlags |
Should the value of Flags be shown on screen on the cursor.
(Inherited from TextPointerCursorT.) |
![]() | ShowPointerId |
Should the value of Id be shown on screen on the cursor.
(Inherited from TextPointerCursorT.) |
![]() | ShowPressure |
Should the value of Pressure be shown on the cursor.
|
![]() | ShowRotation |
Should the value of Pressure be shown on the cursor.
|
![]() | size |
Cursor size.
(Inherited from PointerCursor.) |
![]() | state |
Current cursor state.
(Inherited from PointerCursor.) |
![]() | stateData |
CUrrent cursor state data.
(Inherited from PointerCursor.) |
![]() | Text |
The link to UI.Text component.
(Inherited from TextPointerCursorT.) |