Package-level declarations

Types

Link copied to clipboard
object AppRater

USAGE

Link copied to clipboard
Link copied to clipboard
enum Corner : Enum<Corner>
Link copied to clipboard
class CurvedView(val startColor: Int, val endColor: Int, val curvature: CurvedView.Curvature)
Link copied to clipboard
class CustomizableCardView : MaterialCardView
Link copied to clipboard
open class DividerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) : View

Link copied to clipboard
Link copied to clipboard
class DrawingCanvas @JvmOverloads constructor(context: Context, attributeSet: AttributeSet? = null, defStyleAttr: Int = -1) : View
Link copied to clipboard

Layout to wrap a scrollable component inside a ViewPager2. Provided as a solution to the problem where pages of ViewPager2 have nested scrollable elements that scroll in the same direction as ViewPager2. The scrollable element needs to be the immediate and only child of this host layout.

Link copied to clipboard
Link copied to clipboard
class RippleCanvas @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : View
Link copied to clipboard
class StatefulMotionLayout @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : MotionLayout
Link copied to clipboard
data class WatermarkOptions(val corner: Corner = Corner.BOTTOM_RIGHT, val textSizeToWidthRatio: Float = 0.04f, val paddingToWidthRatio: Float = 0.03f, @ColorInt val textColor: Int = Color.WHITE, @ColorInt val shadowColor: Int? = Color.BLACK, val typeface: Typeface? = null)

Functions

Link copied to clipboard
fun Bitmap.addWatermark(watermarkText: String, options: WatermarkOptions = WatermarkOptions()): Bitmap
Link copied to clipboard
fun addWatermarkToBitmap(bitmap: Bitmap, watermarkText: String, options: WatermarkOptions = WatermarkOptions()): Bitmap
Link copied to clipboard
fun ViewGroup.curveIt(curvedView: CurvedView)
Link copied to clipboard
fun getRectCoordinates(width: Int, height: Int, curvature: CurvedView.Curvature): RectF