summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Image.java
blob: a261c2f4b1ff2dca254224960fa8e3d2818d0659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.mapbox.mapboxsdk.maps;

import android.support.annotation.Keep;

@Keep
class Image {
  private final byte[] buffer;
  private final float pixelRatio;
  private final String name;
  private final int width;
  private final int height;
  private final boolean sdf;

  public Image(byte[] buffer, float pixelRatio, String name, int width, int height, boolean sdf) {
    this.buffer = buffer;
    this.pixelRatio = pixelRatio;
    this.name = name;
    this.width = width;
    this.height = height;
    this.sdf = sdf;
  }
}