Package com.github.tadukoo.view.shapes
Class ShapeInfoUIResource
java.lang.Object
com.github.tadukoo.view.shapes.ShapeInfo
com.github.tadukoo.view.shapes.ShapeInfoUIResource
- All Implemented Interfaces:
UIResource
A wrapper around
ShapeInfo to turn it into a UIResource for use in the Look & Feel.- Version:
- Alpha v.0.3
- Author:
- Logan Ferree (Tadukoo)
-
Field Summary
Fields inherited from class com.github.tadukoo.view.shapes.ShapeInfo
noDrawFunc, noInsets -
Constructor Summary
ConstructorsConstructorDescriptionShapeInfoUIResource(ShapeFunction shapeFunc, ShapeInsetsFunction shapeInsetsFunc, ShapeDrawingFunction topLeftDrawFunc, ShapeDrawingFunction bottomRightDrawFunc) ShapeInfoUIResource(ShapeInfo shapeInfo) Creates a new Shape Info UIResource using the givenShapeInfo. -
Method Summary
Methods inherited from class com.github.tadukoo.view.shapes.ShapeInfo
getBottomRightDrawFunc, getShapeFunc, getShapeInsetsFunc, getTopLeftDrawFunc
-
Constructor Details
-
ShapeInfoUIResource
Creates a new Shape Info UIResource using the givenShapeInfo. It just takes the functions present on theShapeInfoand sends them to the constructor.- Parameters:
shapeInfo- TheShapeInfoto wrap as a UIResource
-
ShapeInfoUIResource
public ShapeInfoUIResource(ShapeFunction shapeFunc, ShapeInsetsFunction shapeInsetsFunc, ShapeDrawingFunction topLeftDrawFunc, ShapeDrawingFunction bottomRightDrawFunc)
-
-
Method Details