Package booton.css.value

Examples of booton.css.value.Numeric


     * @param size The z-component of the translating vector.
     * @param unit The unit of the translating vector.
     * @return Chainable API.
     */
    public Transform translateZ(double size, Unit unit) {
        return translateZ(new Numeric(size, unit));
    }
View Full Code Here


     * @param size
     * @param unit
     * @return
     */
    public Box size(double size, Unit unit) {
        return size(new Numeric(size, unit));
    }
View Full Code Here

     * @param size A box width.
     * @param unit A unit.
     * @return Chainable API.
     */
    public Box width(double size, Unit unit) {
        width = new Numeric(size, unit);

        return chain();
    }
View Full Code Here

     * @param size
     * @param unit
     * @return
     */
    public Box minWidth(double size, Unit unit) {
        return minWidth(new Numeric(size, unit));
    }
View Full Code Here

     * @param size
     * @param unit
     * @return
     */
    public Box maxWidth(double size, Unit unit) {
        return maxWidth(new Numeric(size, unit));
    }
View Full Code Here

     * @param size A box width.
     * @param unit A unit.
     * @return Chainable API.
     */
    public Box height(double size, Unit unit) {
        height = new Numeric(size, unit);

        return chain();
    }
View Full Code Here

     * @param size
     * @param unit
     * @return
     */
    public Box minHeight(double size, Unit unit) {
        return minHeight(new Numeric(size, unit));
    }
View Full Code Here

     * @param size
     * @param unit
     * @return
     */
    public Box maxHeight(double size, Unit unit) {
        return maxHeight(new Numeric(size, unit));
    }
View Full Code Here

     * @param color
     * @return
     */
    public Box shadow(double offsetX, Unit unitX, double offsetY, Unit unitY, Color color) {
        ShadowValue shadow = new ShadowValue();
        shadow.offsetX = new Numeric(offsetX, unitX);
        shadow.offsetY = new Numeric(offsetY, unitY);
        shadow.color = color;
        shadows.add(shadow);

        return chain();
    }
View Full Code Here

     * @param unitY
     * @return
     */
    public Box shadowInset(double offsetX, Unit unitX, double offsetY, Unit unitY, Color color) {
        ShadowValue shadow = new ShadowValue();
        shadow.offsetX = new Numeric(offsetX, unitX);
        shadow.offsetY = new Numeric(offsetY, unitY);
        shadow.color = color;
        shadows.add(shadow);

        return chain();
    }
View Full Code Here

TOP

Related Classes of booton.css.value.Numeric

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.