Shape Path Model
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.
Functions
Link copied to clipboard
Set all corner treatments.
Link copied to clipboard
Set all edge treatments.
Link copied to clipboard
Set the edge treatment for the bottom edge.
Link copied to clipboard
Set the corner treatment for the bottom-left corner.
Link copied to clipboard
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
Set the edge treatment for the left edge.
Link copied to clipboard
Set the edge treatment for the right edge.
Link copied to clipboard
Set the edge treatment for the top edge.
Link copied to clipboard
Set the corner treatment for the top-left corner.
Link copied to clipboard
Set the corner treatment for the top-right corner.