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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.core.graphics\n======================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/core/graphics/package-summary \"View this page in Kotlin\") \\|Java\n\nClasses\n-------\n\n|--------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BitmapCompat](/reference/androidx/core/graphics/BitmapCompat) | Helper for accessing features in [Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html). |\n| [BitmapKt](/reference/androidx/core/graphics/BitmapKt) | |\n| [BlendModeColorFilterCompat](/reference/androidx/core/graphics/BlendModeColorFilterCompat) | Helper for accessing ColorFilter APIs on various API levels of the platform |\n| [CanvasKt](/reference/androidx/core/graphics/CanvasKt) | |\n| [ColorKt](/reference/androidx/core/graphics/ColorKt) | |\n| [ColorUtils](/reference/androidx/core/graphics/ColorUtils) | A set of color-related utility methods, building upon those available in `Color`. |\n| [ImageDecoderKt](/reference/androidx/core/graphics/ImageDecoderKt) | |\n| [Insets](/reference/androidx/core/graphics/Insets) | An Insets instance holds four integer offsets which describe changes to the four edges of a Rectangle. |\n| [MatrixKt](/reference/androidx/core/graphics/MatrixKt) | |\n| [PaintCompat](/reference/androidx/core/graphics/PaintCompat) | Helper for accessing features in [Paint](https://developer.android.com/reference/android/graphics/Paint.html). |\n| [PaintKt](/reference/androidx/core/graphics/PaintKt) | |\n| [PathKt](/reference/androidx/core/graphics/PathKt) | |\n| [PathParser](/reference/androidx/core/graphics/PathParser) | Parses SVG path strings. |\n| [PathParser.PathDataNode](/reference/androidx/core/graphics/PathParser.PathDataNode) | Each PathDataNode represents one command in the \"d\" attribute of the svg file. |\n| [PathSegment](/reference/androidx/core/graphics/PathSegment) | A line segment that represents an approximate fraction of a [Path](https://developer.android.com/reference/android/graphics/Path.html) after [flattening](/reference/androidx/core/graphics/PathUtils#flatten(android.graphics.Path)). |\n| [PathUtils](/reference/androidx/core/graphics/PathUtils) | A set of path-related utility methods. |\n| [PictureKt](/reference/androidx/core/graphics/PictureKt) | |\n| [PointKt](/reference/androidx/core/graphics/PointKt) | |\n| [PorterDuffKt](/reference/androidx/core/graphics/PorterDuffKt) | |\n| [RectKt](/reference/androidx/core/graphics/RectKt) | |\n| [RegionKt](/reference/androidx/core/graphics/RegionKt) | |\n| [ShaderKt](/reference/androidx/core/graphics/ShaderKt) | |\n| [TypefaceCompat](/reference/androidx/core/graphics/TypefaceCompat) | Helper for accessing features in [Typeface](https://developer.android.com/reference/android/graphics/Typeface.html). |\n\nEnums\n-----\n\n|----------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BlendModeCompat](/reference/androidx/core/graphics/BlendModeCompat) | Compat version of [android.graphics.BlendMode](https://developer.android.com/reference/android/graphics/BlendMode.html), usages of [BlendModeCompat](/reference/androidx/core/graphics/BlendModeCompat) will map to [android.graphics.PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html) wherever possible |"]]