93949596979899
* @param size A position value. * @param unit A unit. * @return Chainable API. */ public Position left(double size, Unit unit) { return left(new Numeric(size, unit)); }
138139140141142143144
* @param size A position value. * @param unit A unit. * @return Chainable API. */ public Position right(double size, Unit unit) { return right(new Numeric(size, unit)); }
193194195196197198199
* @param size A position value. * @param unit A unit. * @return Chainable API. */ public Position top(double size, Unit unit) { return top(new Numeric(size, unit)); }
246247248249250251252
* @param size A position value. * @param unit A unit. * @return Chainable API. */ public Position bottom(double size, Unit unit) { return bottom(new Numeric(size, unit)); }
119120121122123124125
* @param size * @param unit * @return */ public BoxLength top(double size, Unit unit) { return top(new Numeric(size, unit)); }
150151152153154155156
* @param size * @param unit * @return */ public BoxLength bottom(double size, Unit unit) { return bottom(new Numeric(size, unit)); }
181182183184185186187
* @param size * @param unit * @return */ public BoxLength left(double size, Unit unit) { return left(new Numeric(size, unit)); }
212213214215216217218
* @param size * @param unit * @return */ public BoxLength right(double size, Unit unit) { return right(new Numeric(size, unit)); }
99100101102103104105
* @param size * @param unit * @return */ public Font size(double size, Unit unit) { return size(new Numeric(size, unit)); }
2526272829303132333435
* * @param ratio Negative values are invalid. * @return */ public FlexItem basis(int size, Unit unit) { Numeric numeric = new Numeric(size, unit); value("flex-basis", numeric); value("-webkit-flex-basis", numeric); return this; }