Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.leanback.graphics\n==========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/leanback/graphics/package-summary \"View this page in Java\")\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BoundsRule](/reference/kotlin/androidx/leanback/graphics/BoundsRule) | This class contains the rules for updating the bounds of a [CompositeDrawable.ChildDrawable](/reference/kotlin/androidx/leanback/graphics/CompositeDrawable.ChildDrawable). |\n| [BoundsRule.ValueRule](/reference/kotlin/androidx/leanback/graphics/BoundsRule.ValueRule) | This class represents individual rules for updating the bounds. |\n| [ColorFilterCache](/reference/kotlin/androidx/leanback/graphics/ColorFilterCache) | Cache of [ColorFilter](https://developer.android.com/reference/android/graphics/ColorFilter.html)s for a given color at different alpha levels. |\n| [ColorFilterDimmer](/reference/kotlin/androidx/leanback/graphics/ColorFilterDimmer) | Helper class for applying a dim level to a View. |\n| [ColorOverlayDimmer](/reference/kotlin/androidx/leanback/graphics/ColorOverlayDimmer) | Helper class for assigning a dim color to Paint. |\n| [CompositeDrawable](/reference/kotlin/androidx/leanback/graphics/CompositeDrawable) | Generic drawable class that can be composed of multiple children. |\n| [CompositeDrawable.ChildDrawable](/reference/kotlin/androidx/leanback/graphics/CompositeDrawable.ChildDrawable) | Wrapper class holding a drawable object and [BoundsRule](/reference/kotlin/androidx/leanback/graphics/BoundsRule) to update drawable bounds when parent bound changes. |\n| [FitWidthBitmapDrawable](/reference/kotlin/androidx/leanback/graphics/FitWidthBitmapDrawable) | Subclass of [Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html) that can be used to draw a bitmap into a region. |"]]