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-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.v4.graphics\n\nadded in [version 22.1.0](/topic/libraries/support-library/revisions) \n\nandroid.support.v4.graphics\n===========================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\nClasses\n-------\n\n|---------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [BitmapCompat](/reference/android/support/v4/graphics/BitmapCompat) | Helper for accessing features in [Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html). |\n| [ColorUtils](/reference/android/support/v4/graphics/ColorUtils) | A set of color-related utility methods, building upon those available in `Color`. |\n| [PaintCompat](/reference/android/support/v4/graphics/PaintCompat) | Helper for accessing features in [Paint](https://developer.android.com/reference/android/graphics/Paint.html). |\n\n-\n\n Classes\n -------\n\n - [BitmapCompat](/reference/android/support/v4/graphics/BitmapCompat)\n - [ColorUtils](/reference/android/support/v4/graphics/ColorUtils)\n - [PaintCompat](/reference/android/support/v4/graphics/PaintCompat)"]]