Merge pull request #92 from lucasr/get-style-direction

Add style direction getter to CSSNode
This commit is contained in:
Christopher Chedeau
2015-05-27 19:04:16 -07:00

View File

@@ -368,6 +368,13 @@ public class CSSNode {
return style.height; 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. * Set a default padding (left/top/right/bottom) for this node.
*/ */