Class GssFunctions.Div
- java.lang.Object
-
- com.google.common.css.compiler.gssfunctions.GssFunctions.Div
-
- All Implemented Interfaces:
GssFunction
- Enclosing class:
- GssFunctions
public static class GssFunctions.Div extends java.lang.ObjectAGssFunctionthat returns the quotient of its arguments. Only the first argument may have a unit.
-
-
Constructor Summary
Constructors Constructor Description Div()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisIdentityValue(double value)By default, this method returnsfalse.protected doubleperformOperation(double left, double right)
-
-
-
Method Detail
-
performOperation
protected double performOperation(double left, double right)
-
isIdentityValue
protected boolean isIdentityValue(double value)
By default, this method returnsfalse.- Returns:
- whether the identity value has no effect on the output. In this case, any units (px, pt, etc.) will be ignored.
-
-