OptionaldoIf true, don't animate while centering. Defaults to false.
OptionalhorizontalTrue by default. Indicates the content should be centered in the X axis.
OptionalonOptional function to call on operation complete (centering may be animated).
OptionalverticalTrue by default. Indicates the content should be centered in the Y axis.
Options for the centerContent method of the Surface.