Clutter.ContentGravity
Description: Reference for Clutter.ContentGravity

### Enumeration

# ClutterContentGravity

since: 13

#### Declaration

    enum Clutter.ContentGravity

#### Description [src]

Controls the alignment of the `ClutterContent` inside a `ClutterActor`.

Available since: 13

#### Members

`CLUTTER_CONTENT_GRAVITY_TOP_LEFT`

  Align the content to the top left corner.

  - Value: `0`
  - Nickname: `top-left`
  - Available since: 13
`CLUTTER_CONTENT_GRAVITY_TOP`

  Align the content to the top edge.

  - Value: `1`
  - Nickname: `top`
  - Available since: 13
`CLUTTER_CONTENT_GRAVITY_TOP_RIGHT`

  Align the content to the top right corner.

  - Value: `2`
  - Nickname: `top-right`
  - Available since: 13
`CLUTTER_CONTENT_GRAVITY_LEFT`

  Align the content to the left edge.

  - Value: `3`
  - Nickname: `left`
  - Available since: 13
`CLUTTER_CONTENT_GRAVITY_CENTER`

  Align the content to the center.

  - Value: `4`
  - Nickname: `center`
  - Available since: 13
`CLUTTER_CONTENT_GRAVITY_RIGHT`

  Align the content to the right edge.

  - Value: `5`
  - Nickname: `right`
  - Available since: 13
`CLUTTER_CONTENT_GRAVITY_BOTTOM_LEFT`

  Align the content to the bottom left corner.

  - Value: `6`
  - Nickname: `bottom-left`
  - Available since: 13
`CLUTTER_CONTENT_GRAVITY_BOTTOM`

  Align the content to the bottom edge.

  - Value: `7`
  - Nickname: `bottom`
  - Available since: 13
`CLUTTER_CONTENT_GRAVITY_BOTTOM_RIGHT`

  Align the content to the bottom right corner.

  - Value: `8`
  - Nickname: `bottom-right`
  - Available since: 13
`CLUTTER_CONTENT_GRAVITY_RESIZE_FILL`

  Resize the content to fill the allocation.

  - Value: `9`
  - Nickname: `resize-fill`
  - Available since: 13
`CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT`

  Resize the content to remain within the allocation, while maintaining the aspect ratio.

  - Value: `10`
  - Nickname: `resize-aspect`
  - Available since: 13