Class MeasureContext
java.lang.Object
com.github.weisj.jsvg.geometry.size.MeasureContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull MeasureContextcreateInitial(@NotNull FloatSize viewBoxSize, float em, float ex)@NotNull MeasureContextderive(float viewWidth, float viewHeight)@NotNull MeasureContextfloatem()booleanfloatex()inthashCode()floattoString()floatfloat
-
Constructor Details
-
MeasureContext
public MeasureContext(float vw, float vh, float em, float ex)
-
-
Method Details
-
createInitial
@NotNull public static @NotNull MeasureContext createInitial(@NotNull @NotNull FloatSize viewBoxSize, float em, float ex) -
derive
-
derive
@NotNull public @NotNull MeasureContext derive(@Nullable @Nullable ViewBox viewBox, float em, float ex) -
viewWidth
public float viewWidth() -
viewHeight
public float viewHeight() -
normedDiagonalLength
public float normedDiagonalLength() -
em
public float em() -
ex
public float ex() -
toString
-
equals
-
hashCode
public int hashCode()
-