Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

Shapeable

public interface Shapeable

com.google.android.material.shape.Shapeable
Known Indirect Subclasses


Provides a mechanism to uniformly modify the ShapeAppearanceModel that backs a component or Drawable's shape.

Summary

Public methods

abstract ShapeAppearanceModel getShapeAppearanceModel()

Returns the ShapeAppearanceModel used for the shape definition.

abstract void setShapeAppearanceModel(ShapeAppearanceModel shapeAppearanceModel)

Sets the ShapeAppearanceModel that defines the shape.

Public methods

getShapeAppearanceModel

ShapeAppearanceModel getShapeAppearanceModel ()

Returns the ShapeAppearanceModel used for the shape definition.

This ShapeAppearanceModel can be modified to change the shape.

Returns
ShapeAppearanceModel

setShapeAppearanceModel

void setShapeAppearanceModel (ShapeAppearanceModel shapeAppearanceModel)

Sets the ShapeAppearanceModel that defines the shape.

Parameters
shapeAppearanceModel ShapeAppearanceModel