public static enum TeXExporter.ScaleEnum extends Enum<TeXExporter.ScaleEnum>
Modifier and Type | Method and Description |
---|---|
TeXExporter.ScaleOption |
toOption(int w,
int h) |
static TeXExporter.ScaleEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TeXExporter.ScaleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TeXExporter.ScaleEnum Fit
public static final TeXExporter.ScaleEnum FitWidth
public static final TeXExporter.ScaleEnum FitHeight
public static final TeXExporter.ScaleEnum FitRatio
public static TeXExporter.ScaleEnum[] values()
for (TeXExporter.ScaleEnum c : TeXExporter.ScaleEnum.values()) System.out.println(c);
public static TeXExporter.ScaleEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic TeXExporter.ScaleOption toOption(int w, int h)
Copyright © 2010–2023 Francesco Kriegel. All rights reserved.