public final class ViewBoxLegendFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static ConstantViewBox |
createConstantViewBox(ViewBox vb)
This utility method is used to create
ConstantViewBox instances quickly. |
static MonovariateProportionalViewBox |
createMonovariateProportionalViewBox(ViewBox vb)
This utility method is used to create
MonovariateProportionalViewBox instances quickly. |
public static ConstantViewBox createConstantViewBox(ViewBox vb)
ConstantViewBox instances quickly. It does not test the given
ViewBox much, so it's up to the caller to check it can be used
to build a ConstantViewbox.vb - ClassCastException - If some argument of the ViewBox are not compatible with a ConstantViewBox.IllegalArgumentException - if both height and width are null in the ViewBox.public static MonovariateProportionalViewBox createMonovariateProportionalViewBox(ViewBox vb)
MonovariateProportionalViewBox instances quickly. It does not test the given
ViewBox much, so it's up to the caller to check it can be used
to build a MonovariateProportionalViewBox.vb - ClassCastException - If some argument of the ViewBox are not compatible with a MonovariateProportionalViewBox.IllegalArgumentException - if both height and width are null or both are not null in the ViewBox.Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.