public class guidopageformat
extends java.lang.Object
\\pageFormat
tag to specify the page layout
within the score descritpion. When a guido score description doesn't include this
\\pageFormat
tag, the guido engine applies a default page format.
The guidopageformat is basically a data structure used to control the default page
format strategy of the score layout engine.Modifier and Type | Field and Description |
---|---|
float |
fHeight |
float |
fMarginbottom |
float |
fMarginleft |
float |
fMarginright |
float |
fMargintop |
float |
fWidth |
Constructor and Description |
---|
guidopageformat() |
guidopageformat(float w,
float h,
float ml,
float mt,
float mr,
float mb) |
Modifier and Type | Method and Description |
---|---|
void |
GetDefault()
Retrieve the engine default page format.
|
protected static void |
Init()
Internal jni initialization method.
|
void |
print()
Print utility.
|
void |
SetDefault()
Sets the engine default score page format.
|
public float fWidth
public float fHeight
public float fMarginleft
public float fMargintop
public float fMarginright
public float fMarginbottom
public guidopageformat()
public guidopageformat(float w, float h, float ml, float mt, float mr, float mb)
public final void GetDefault()
public final void SetDefault()
\\pageFormat
tag is present.
Parameters are Guido internal units. Default values for the default page
format are:
- paper size: A4
- left margin: 2cm
- right margin: 2cm
- top margin: 5cm
- bottom margin: 3cmpublic void print()
protected static void Init()