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
ConstructorDescriptionShapeInfoUIResource
(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 theShapeInfo
and sends them to the constructor.- Parameters:
shapeInfo
- TheShapeInfo
to wrap as a UIResource
-
ShapeInfoUIResource
public ShapeInfoUIResource(ShapeFunction shapeFunc, ShapeInsetsFunction shapeInsetsFunc, ShapeDrawingFunction topLeftDrawFunc, ShapeDrawingFunction bottomRightDrawFunc)
-
-
Method Details