-
- All Implemented Interfaces:
-
androidx.compose.ui.graphics.drawscope.ContentDrawScope,androidx.compose.ui.graphics.drawscope.DrawScope,androidx.compose.ui.unit.Density
public final class TextRippleIndication.ClipContentDrawScope implements DrawScope, ContentDrawScope
-
-
Field Summary
Fields Modifier and Type Field Description private final Offsetcenterprivate final Floatdensityprivate final DrawContextdrawContextprivate final FloatfontScaleprivate final LayoutDirectionlayoutDirectionprivate final Sizesize
-
Constructor Summary
Constructors Constructor Description TextRippleIndication.ClipContentDrawScope(DrawScope clippedDrawScope)
-
Method Summary
Modifier and Type Method Description OffsetgetCenter()FloatgetDensity()DrawContextgetDrawContext()FloatgetFontScale()LayoutDirectiongetLayoutDirection()SizegetSize()UnitdrawContent()-
Methods inherited from class net.meilcli.rippletext.compose.TextRippleIndication.ClipContentDrawScope
drawArc, drawArc, drawCircle, drawCircle, drawImage, drawImage, drawImage, drawLine, drawLine, drawOval, drawOval, drawPath, drawPath, drawPoints, drawPoints, drawRect, drawRect, drawRoundRect, drawRoundRect -
Methods inherited from class androidx.compose.ui.graphics.drawscope.DrawScope
roundToPx, roundToPx, toDp, toDp, toDp, toDpSize, toPx, toPx, toRect, toSize, toSp, toSp, toSp -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCenter
Offset getCenter()
-
getDensity
Float getDensity()
-
getDrawContext
DrawContext getDrawContext()
-
getFontScale
Float getFontScale()
-
getLayoutDirection
LayoutDirection getLayoutDirection()
-
getSize
Size getSize()
-
drawContent
Unit drawContent()
-
-
-
-