Class Alignment

com.yandex.mapkit.logo

java.lang.Object ⇽ Alignment

public class Alignment

Logo alignment class.

Constructors

Alignment(@NonNull HorizontalAlignment horizontalAlignment, @NonNull VerticalAlignment verticalAlignment)
Alignment()

Use constructor with parameters in your code.

Methods

HorizontalAlignment getHorizontalAlignment()

Defines horizontal alignment.

VerticalAlignment getVerticalAlignment()

Defines vertical alignment.

void serialize(Archive archive)

Constructor Detail

Alignment

public Alignment (@NonNull HorizontalAlignment horizontalAlignment, @NonNull VerticalAlignment verticalAlignment)

Alignment

public Alignment ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getHorizontalAlignment

public HorizontalAlignment getHorizontalAlignment ()

Defines horizontal alignment.

getVerticalAlignment

public VerticalAlignment getVerticalAlignment ()

Defines vertical alignment.

serialize

public void serialize (Archive archive)