Miscellaneous dartdoc markdown fixes
This commit is contained in:
@@ -2,16 +2,16 @@ part of flutter_sprites;
|
||||
|
||||
/// Options for setting up a [SpriteBox].
|
||||
///
|
||||
/// * [nativePoints], use the same points as the parent [Widget].
|
||||
/// * [letterbox], use the size of the root node for the coordinate system, constrain the aspect ratio and trim off
|
||||
/// areas that end up outside the screen.
|
||||
/// * [stretch], use the size of the root node for the coordinate system, scale it to fit the size of the box.
|
||||
/// * [scaleToFit], similar to the letterbox option, but instead of trimming areas the sprite system will be scaled
|
||||
/// down to fit the box.
|
||||
/// * [fixedWidth], uses the width of the root node to set the size of the coordinate system, this option will change
|
||||
/// the height of the root node to fit the box.
|
||||
/// * [fixedHeight], uses the height of the root node to set the size of the coordinate system, this option will change
|
||||
/// the width of the root node to fit the box.
|
||||
/// * [nativePoints]: use the same points as the parent [Widget].
|
||||
/// * [letterbox]: use the size of the root node for the coordinate system, and constrain the aspect ratio and trim off
|
||||
/// areas that end up outside the screen.
|
||||
/// * [stretch]: use the size of the root node for the coordinate system, and scale it to fit the size of the box.
|
||||
/// * [scaleToFit]: similar to the letterbox option, but instead of trimming areas the sprite system will be scaled
|
||||
/// down to fit the box.
|
||||
/// * [fixedWidth]: use the width of the root node to set the size of the coordinate system, and change
|
||||
/// the height of the root node to fit the box.
|
||||
/// * [fixedHeight]: use the height of the root node to set the size of the coordinate system, and change
|
||||
/// the width of the root node to fit the box.
|
||||
enum SpriteBoxTransformMode {
|
||||
nativePoints,
|
||||
letterbox,
|
||||
|
||||
Reference in New Issue
Block a user