Home | History | Annotate | Download | only in util

Lines Matching defs:SizeF

29 public final class SizeF {
31 * Create a new immutable SizeF instance.
42 public SizeF(final float width, final float height) {
82 if (obj instanceof SizeF) {
83 final SizeF other = (SizeF) obj;
100 throw new NumberFormatException("Invalid SizeF: \"" + s + "\"");
110 * For any {@code SizeF s}: {@code SizeF.parseSizeF(s.toString()).equals(s)}.
115 * "<i>width</i>{@code *}<i>height</i>" {@code => new SizeF(width, height)},
121 * SizeF.parseSizeF("3.2*+6").equals(new SizeF(3.2f, 6.0f)) == true
122 * SizeF.parseSizeF("-3x-6").equals(new SizeF(-3.0f, -6.0f)) == true
123 * SizeF.parseSizeF("4 by 3") => throws NumberFormatException
133 public static SizeF parseSizeF(String string)
145 return new SizeF(Float.parseFloat(string.substring(0, sep_ix)),