Stay organized with collections
Save and categorize content based on your preferences.
@RequiresSchemaVersion(major = 1, minor = 400)
public interface DimensionBuilders.PivotDimension
Interface defining a dimension that can be applied to a pivot location for scale and rotate transformations.
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,["# DimensionBuilders.PivotDimension\n================================\n\nArtifact: [androidx.wear.protolayout:protolayout](/jetpack/androidx/releases/wear-protolayout) \n[View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/DimensionBuilders.java+class:androidx.wear.protolayout.DimensionBuilders.PivotDimension) \nAdded in [1.2.0](/jetpack/androidx/releases/wear-protolayout#1.2.0)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/wear/protolayout/DimensionBuilders.PivotDimension \"View this page in Kotlin\") \\|Java\n\n\n```\n@RequiresSchemaVersion(major = 1, minor = 400)\npublic interface DimensionBuilders.PivotDimension\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[DimensionBuilders.BoundingBoxRatio](/reference/androidx/wear/protolayout/DimensionBuilders.BoundingBoxRatio), [DimensionBuilders.DpProp](/reference/androidx/wear/protolayout/DimensionBuilders.DpProp) \n\n|---------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|\n| [DimensionBuilders.BoundingBoxRatio](/reference/androidx/wear/protolayout/DimensionBuilders.BoundingBoxRatio) | Provide a position representation proportional to the bounding box width/height. |\n| [DimensionBuilders.DpProp](/reference/androidx/wear/protolayout/DimensionBuilders.DpProp) | A type for linear dimensions, measured in dp. |\n\n*** ** * ** ***\n\nInterface defining a dimension that can be applied to a pivot location for scale and rotate transformations."]]