Add style direction getter to CSSNode

This commit is contained in:
Lucas Rocha
2015-05-27 19:19:43 +01:00
parent e932e4420d
commit 3fc99b02ae

View File

@@ -368,6 +368,13 @@ public class CSSNode {
return style.height;
}
/**
* Get this node's direction, as defined in the style.
*/
public CSSDirection getStyleDirection() {
return style.direction;
}
/**
* Set a default padding (left/top/right/bottom) for this node.
*/