= Scale _(enum)_
:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

== API

[source,java]
.Scale.java
----
enum Scale {
  AUTOMATIC     // <.>
  ACTUAL_SIZE
  PAGE_FIT
  PAGE_WIDTH
  _0_50     // <.>
  _0_75     // <.>
  _1_00     // <.>
  _1_25     // <.>
  _1_50     // <.>
  _2_00     // <.>
  _3_00     // <.>
  _4_00     // <.>
  Scale forValue(String scaleValue)
}
----

<.> xref:#AUTOMATIC[AUTOMATIC]
+
--
predefined scaling strategies, depend on the width/height of the panel available to render in
--
<.> xref:#_0_50[_0_50]
+
--
50%
--
<.> xref:#_0_75[_0_75]
+
--
75%
--
<.> xref:#_1_00[_1_00]
+
--
100%
--
<.> xref:#_1_25[_1_25]
+
--
125%
--
<.> xref:#_1_50[_1_50]
+
--
150%
--
<.> xref:#_2_00[_2_00]
+
--
200%
--
<.> xref:#_3_00[_3_00]
+
--
300%
--
<.> xref:#_4_00[_4_00]
+
--
400%
--

== Members

[#AUTOMATIC]
=== AUTOMATIC

predefined scaling strategies, depend on the width/height of the panel available to render in

[#_0_50]
=== _0_50

50%

[#_0_75]
=== _0_75

75%

[#_1_00]
=== _1_00

100%

[#_1_25]
=== _1_25

125%

[#_1_50]
=== _1_50

150%

[#_2_00]
=== _2_00

200%

[#_3_00]
=== _3_00

300%

[#_4_00]
=== _4_00

400%
