use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class FrameLayout method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class GridLayout method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class ImageView method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class MotionLayout method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class TextView method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
Aggregations