Searched refs:anchorPosition (Results 1 - 1 of 1) sorted by relevance
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/ |
H A D | Widget.java | 284 public static PointF getAnchorOffset(float width, float height, AnchorPosition anchorPosition) {
argument 286 switch (anchorPosition) {
314 throw new IllegalArgumentException("Unsupported anchor location: " + anchorPosition);
319 public static PointF getAnchorCoordinates(RectF widgetRect, AnchorPosition anchorPosition) {
argument 321 getAnchorOffset(widgetRect.width(), widgetRect.height(), anchorPosition));
324 public static PointF getAnchorCoordinates(float x, float y, float width, float height, AnchorPosition anchorPosition) {
argument 325 return getAnchorCoordinates(new RectF(x, y, x+width, y+height), anchorPosition);
|
Completed in 55 milliseconds