mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Add public getters
This commit is contained in:
@@ -21,6 +21,51 @@ public class BorderDrawable extends ColorDrawable {
|
|||||||
private float density;
|
private float density;
|
||||||
private float borderWidth;
|
private float borderWidth;
|
||||||
private int borderColor;
|
private int borderColor;
|
||||||
|
|
||||||
|
public float getBorderWidth() {
|
||||||
|
return borderWidth;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getBorderColor() {
|
||||||
|
return borderColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
public float getBorderRadius() {
|
||||||
|
return borderRadius;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getClipPath() {
|
||||||
|
return clipPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getBackgroundColor() {
|
||||||
|
return backgroundColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Bitmap getBackgroundImage() {
|
||||||
|
return backgroundImage;
|
||||||
|
}
|
||||||
|
|
||||||
|
public float getBackgroundImageWidth() {
|
||||||
|
return backgroundImageWidth;
|
||||||
|
}
|
||||||
|
|
||||||
|
public float getBackgroundImageHeight() {
|
||||||
|
return backgroundImageHeight;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBackgroundRepeat() {
|
||||||
|
return backgroundRepeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBackgroundPosition() {
|
||||||
|
return backgroundPosition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBackgroundSize() {
|
||||||
|
return backgroundSize;
|
||||||
|
}
|
||||||
|
|
||||||
private float borderRadius;
|
private float borderRadius;
|
||||||
private String clipPath;
|
private String clipPath;
|
||||||
private int backgroundColor;
|
private int backgroundColor;
|
||||||
|
|||||||
Reference in New Issue
Block a user