Add style direction getter to CSSNode
This commit is contained in:
@@ -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.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user