Package com. mapbox. maps. extension. style. image
Types
ImageExtensionImpl
Link copied to clipboard
class ImageExtensionImpl(builder: ImageExtensionImpl.Builder) : StyleContract.StyleImageExtension
Content copied to clipboard
ImageNinePatchExtensionImpl
Link copied to clipboard
class ImageNinePatchExtensionImpl(builder: ImageNinePatchExtensionImpl.Builder) : StyleContract.StyleImageExtension
Content copied to clipboard
Concrete implementation of ImagePlugin (see ImageExtensionImpl) but taking 9-patch Bitmap in order to calculate stretchX, stretchY and paddings automatically.
NinePatchImage
Link copied to clipboard
data class NinePatchImage(internalImage: Image, stretchX: List<ImageStretches>, stretchY: List<ImageStretches>, imageContent: ImageContent)
Content copied to clipboard
Functions
addImage
Link copied to clipboard
addImage9Patch
Link copied to clipboard
fun StyleInterface.addImage9Patch(image: StyleContract.StyleImageExtension)
Content copied to clipboard
@JvmOverloads()
Content copied to clipboard
image
Link copied to clipboard
fun image(imageId: String, block: ImageExtensionImpl.Builder.() -> Unit): ImageExtensionImpl
Content copied to clipboard
DSL function for ImageExtensionImpl.
image9Patch
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
DSL function for ImageNinePatchExtensionImpl.
parse9PatchBitmap
Link copied to clipboard