• О MapKit
    • Начало работы
  • Стили карты
  • Версии MapKit
  • Часто задаваемые вопросы
  • Обратная связь

Package com.yandex.mapkit.logo

Interface Logo

interface Logo

The object that allows to control logo display properties.

Summary

Methods

Type and modifiers

Method and Description

void

setAlignment(@NonNull Alignment alignment)
Set logo alignment in the container.

void

setPadding(@NonNull Padding padding)
Set logo padding relative to the left/right and top/bottom edges.

boolean

isValid()
Tells if this Logo is valid or not.

Methods

setAlignment

void setAlignment(@NonNull Alignment alignment)

Set logo alignment in the container.


setPadding

void setPadding(@NonNull Padding padding)

Set logo padding relative to the left/right and top/bottom edges.

Values must be positive.


isValid

boolean isValid()

Tells if this Logo is valid or not.

Any other method (except for this one) called on an invalid Logo will throw java.lang.RuntimeException. An instance becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.


Предыдущая
Следующая