ModifiersBuilders.SlideParentBound.Builder


class ModifiersBuilders.SlideParentBound.Builder


Builder for SlideParentBound.

Summary

Public constructors

Creates an instance of Builder.

Public functions

ModifiersBuilders.SlideParentBound

Builds an instance from accumulated values.

ModifiersBuilders.SlideParentBound.Builder
@RequiresSchemaVersion(major = 1, minor = 200)
setSnapTo(snapTo: Int)

Sets the snap options to use when sliding using parent boundaries.

Public constructors

Builder

Added in 1.0.0
Builder()

Creates an instance of Builder.

Public functions

build

Added in 1.0.0
fun build(): ModifiersBuilders.SlideParentBound

Builds an instance from accumulated values.

setSnapTo

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
fun setSnapTo(snapTo: Int): ModifiersBuilders.SlideParentBound.Builder

Sets the snap options to use when sliding using parent boundaries. Defaults to SLIDE_PARENT_SNAP_TO_INSIDE if not specified.