import PointArray from '../../types/PointArray.js'
export let MorphArray = PointArray
// Move by left top corner over x-axis
export function x (x) {
return x == null ? this.bbox().x : this.move(x, this.bbox().y)
}
// Move by left top corner over y-axis
export function y (y) {
return y == null ? this.bbox().y : this.move(this.bbox().x, y)
}
// Set width of element
export function width (width) {
let b = this.bbox()
return width == null ? b.width : this.size(width, b.height)
}
// Set height of element
export function height (height) {
let b = this.bbox()
return height == null ? b.height : this.size(b.width, height)
}
index : vaadin-framework.git | |
Vaadin 6, 7, 8 is a Java framework for modern Java web applications: https://github.com/vaadin/framework | www-data |
blob: e04a3bc06779064e022ea3a8fe4a4b67caeb2b1b (
plain)