Add style direction getter to CSSNode #92

Merged
lucasr merged 1 commits from get-style-direction into master 2015-05-27 19:04:16 -07:00

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.
*/