Created
May 2, 2021 07:31
-
-
Save dagda1/6eaba4e3f87847e3ace29e126d7a4981 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export type PreserveAspectRatioAlignment = | |
| 'xMinYMin' | |
| 'xMidYMin' | |
| 'xMaxYMin' | |
| 'xMinYMid' | |
| 'xMidYMid' | |
| 'xMaxYMid' | |
| 'xMinYMax' | |
| 'xMidYMax' | |
| 'xMaxYMax'; | |
export type MeetOrSlice = 'meet' | 'slice'; | |
export type PreserveAspectRatio = `${PreserveAspectRatioAlignment} ${MeetOrSlice}`; | |
// distributes | |
// "xMinYMin meet" | "xMinYMin slice" | "xMidYMin meet" | "xMidYMin slice" etc. etc. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment