Skip to main content

display.padding

since 0.9.6
display.paddingJavaScriptpaddingJavaScriptdisplay.paddingJSONpaddingJSONDisplay.Padding.netdisplay.paddingAndroid

Description​

Adjusts the padding between the music notation and the border. Adjusts the padding between the music notation and the outer border of the container element. The array is either:

  • 2 elements: [left-right, top-bottom]
  • 4 elements: [left, top, right, bottom]
padding: number[] = [35, 35];