Click or drag to resize

Region Class

This class represents a region. A region is a box shaped object stored in the memory of a ScripTouch device that can take several forms such as lines, buttons, and containers.
Inheritance Hierarchy
SystemObject
  ProScriptRegion
    More...

Namespace:  ProScript
Assembly:  proscript-csharp (in proscript-csharp.dll) Version: 1.2.79.0 (1.2.79.0)
Syntax
public abstract class Region

The Region type exposes the following members.

Methods
  NameDescription
Public methodAcceptsTouch
Gets whether or not this region accepts touch.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetColorBackground
Gets the background color.
Public methodGetColorForeground
Gets the foreground color.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNumber
Gets the region number.
Public methodGetOutputToHost
Gets whether this region will output information to the host or not.
Public methodGetReserved2
The parameter is not used.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetX1
Gets the left most edge.
Public methodGetX2
Gets the right most edge.
Public methodGetY1
Gets the top most edge.
Public methodGetY2
Gets the bottom most edge.
Public methodHasFrame
Gets whether or not this region has a box around it.
Public methodIsDecode
Gets whether or not this region will generate coordinate events.
Public methodIsInUse
Gets whether or not this region is in use.
Public methodIsReserved1
The parameter is not used.
Public methodIsVisible
Gets whether or not this region is visible.
Public methodSetAcceptTouch
Sets whether or not this region accepts touch.
Public methodSetColorBackground
Sets the background color
Public methodSetColorForeground
Sets the foreground color
Public methodSetDecode
Sets whether or not this region will generate coordinate events.
Public methodSetHasFrame
Sets whether or not this region has a box around it.
Public methodSetNumber
Sets the region number.
Public methodSetOutputToHost
Sets whether this region will output information to the host or not.
Public methodSetReserved1
The parameter is not used.
Public methodSetReserved2
The parameter is not used.
Public methodSetVisible
Sets whether or not this region is visible.
Public methodSetX1
Sets the left most edge.
Public methodSetX2
Sets the right most edge.
Public methodSetY1
Sets the top most edge.
Public methodSetY2
Sets the bottom most edge.
Public methodToString
Converts this object into a human readable string.
(Overrides ObjectToString.)
Top
See Also
Inheritance Hierarchy