ShapePathModel

Deprecated

Use ShapeAppearanceModel instead.

This class models the edges and corners of a shape, which are used by to generate and render the shape for a view's background.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun setAllCorners(cornerTreatment: CornerTreatment)
Set all corner treatments.
Link copied to clipboard
open fun setAllEdges(edgeTreatment: EdgeTreatment)
Set all edge treatments.
Link copied to clipboard
open fun setBottomEdge(bottomEdge: EdgeTreatment)
Set the edge treatment for the bottom edge.
Link copied to clipboard
open fun setBottomLeftCorner(bottomLeftCorner: CornerTreatment)
Set the corner treatment for the bottom-left corner.
Link copied to clipboard
open fun setBottomRightCorner(bottomRightCorner: CornerTreatment)
Set the corner treatment for the bottom-right corner.
Link copied to clipboard
open fun setCornerTreatments(topLeftCorner: CornerTreatment, topRightCorner: CornerTreatment, bottomRightCorner: CornerTreatment, bottomLeftCorner: CornerTreatment)
Set corner treatments.
Link copied to clipboard
open fun setEdgeTreatments(leftEdge: EdgeTreatment, topEdge: EdgeTreatment, rightEdge: EdgeTreatment, bottomEdge: EdgeTreatment)
Set edge treatments.
Link copied to clipboard
open fun setLeftEdge(leftEdge: EdgeTreatment)
Set the edge treatment for the left edge.
Link copied to clipboard
open fun setRightEdge(rightEdge: EdgeTreatment)
Set the edge treatment for the right edge.
Link copied to clipboard
open fun setTopEdge(topEdge: EdgeTreatment)
Set the edge treatment for the top edge.
Link copied to clipboard
open fun setTopLeftCorner(topLeftCorner: CornerTreatment)
Set the corner treatment for the top-left corner.
Link copied to clipboard
open fun setTopRightCorner(topRightCorner: CornerTreatment)
Set the corner treatment for the top-right corner.