Class LineWidth

java.lang.Object
org.audiveris.proxymusic.LineWidth

public class LineWidth extends Object
The line-width type indicates the width of a line type in tenths. The type attribute defines what type of line is being defined. Values include beam, bracket, dashes, enclosure, ending, extend, heavy barline, leger, light barline, octave shift, pedal, slur middle, slur tip, staff, stem, tie middle, tie tip, tuplet bracket, and wedge. The text content is expressed in tenths.

Java class for line-width complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="line-width">
   <simpleContent>
     <extension base="<>tenths">
       <attribute name="type" use="required" type="{}line-width-type" />
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • LineWidth

      public LineWidth()
  • Method Details

    • getValue

      public BigDecimal getValue()
      The tenths type is a number representing tenths of interline staff space (positive or negative). Both integer and decimal values are allowed, such as 5 for a half space and 2.5 for a quarter space. Interline space is measured from the middle of a staff line. Distances in a MusicXML file are measured in tenths of staff space. Tenths are then scaled to millimeters within the scaling element, used in the defaults element at the start of a score. Individual staves can apply a scaling factor to adjust staff size. When a MusicXML element or attribute refers to tenths, it means the global tenths defined by the scaling element, not the local tenths as adjusted by the staff-size element.
      Returns:
      possible object is BigDecimal
    • setValue

      public void setValue(BigDecimal value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is BigDecimal
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String