PMA.UI Documentation by Pathomation

Types

PMA.UI. Types

Source:
PMA.UI.Types contains PMA.UI type definitions

Members

(static, readonly) Annotation :string

Source:
Properties:
Name Type Description
Rectangle string A rectangular area
Arrow string A vector arrow
Line string A line segment made of a start and end point
Icon string A point with an icon image
Point string A point
MultiPoint string Multiple points
Freehand string Free hand line
ClosedFreehand string Free hand polygon
CompoundFreehand string Multiple free hand lines that are eventually connected together to form a closed freehand polygon
Ellipse string Ellipse
Circle string Circle
Polygon string Polygon
LineString string Multiple connected line segments
Available annotation types
Type:
  • string

(static, readonly) AnnotationState :number

Source:
Properties:
Name Type Description
Pristine number Unchanged
Added number Added but not saved yet
Modified number Updated but not saved yet
Deleted number Removed but not saved yet
Annotations states
Type:
  • number

(static, readonly) AnnotationTools :string

Source:
Properties:
Name Type Description
Transform string Scales and rotates an annotation
Modify string Changes shape of annotation using handles
Wand string Creates new annotation on seleced area
Brush string Changes shape of annotation using brush
Eraser string Changes shape of annotation using eraser
Subtract string Removes part of closed annotation
Addition string Adds a new part to a closed annotation
Available edit types
Type:
  • string

(static, readonly) Controls :string

Source:
Properties:
Name Type Description
ZoomSlider string The zoom slider control
ScaleLine string The scale line control
Overview string The overview control
Barcode string The barcode control
Magnifier string The magnifier control
ColorAdjustments string The brightness/contrast control
LayerSwitch string The control to turn layers on/off. Used for server side annotation layers
DimensionSelector string The control used to control z-stacks and timeframes
Filename string The filename control
Snapshot string The snapshot control
Rotation string The rotation control
Attribution string The attribution control
Available controls
Type:
  • string

(static, readonly) MouseWheelZoomMode :string

Source:
Properties:
Name Type Description
normal string Free mouse wheel zoom
objectives string Snaps to objective zoom levels
Available mouse wheel modes
Type:
  • string