Bitwig Studio Control Surface API  5.0.11
HardwareElement Interface Reference
+ Inheritance diagram for HardwareElement:

Public Member Functions

String getId ()
 
String getLabel ()
 
void setLabel (String label)
 
Color getLabelColor ()
 
void setLabelColor (Color color)
 
RelativePosition getLabelPosition ()
 
void setLabelPosition (RelativePosition position)
 
void setBounds (double xInMM, double yInMM, double widthInMM, double heightInMM)
 
double getX ()
 
double getY ()
 
double getWidth ()
 
double getHeight ()
 

Detailed Description

Represents some physical hardware element. Hardware elements can be HardwareControls (e.g. buttons, sliders etc) or HardwareOutputElements (e.g lights, text displays etc).

Since
API version 10

Member Function Documentation

◆ getId()

String getId ( )

The unique id associated with this element.

◆ getLabel()

String getLabel ( )

An optional label associated with this element.

◆ getLabelColor()

Color getLabelColor ( )

The color of the label.

◆ getLabelPosition()

RelativePosition getLabelPosition ( )

RelativePosition that defines where the label is.

◆ setBounds()

void setBounds ( double  xInMM,
double  yInMM,
double  widthInMM,
double  heightInMM 
)

The physical bounds of this hardware element on the controller.

◆ setLabel()

void setLabel ( String  label)

Sets the label for this hardware control as written on the hardware.

◆ setLabelColor()

void setLabelColor ( Color  color)

Sets the color of the label.


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