public static class StyleSheet.BoxPainter extends Object implements Serializable
作为代表的意见,这个对象是负责一个视图的插图,使背景保持根据CSS属性。
public float getInset(int side, View v)
side
-盒子的大小取插图为。这是View.TOP,View.LEFT,View.BOTTOM,或View.RIGHT。
v
-查看发出请求。这是用来获得attributeset,可以用来解决比例参数。
IllegalArgumentException
-无效的方向
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.