mapbox-maps-android
/
com.mapbox.maps.extension.style.image
/
ImageNinePatchExtensionImpl
/
Builder
androidJvm
Builder
class
Builder
(imageId:
String
, bitmap:
Bitmap
)
Content copied to clipboard
Builder for the
ImageNinePatchExtensionImpl
.
Constructors
Functions
Properties
Constructors
Builder
Link copied to clipboard
androidJvm
fun
Builder
(imageId:
String
, bitmap:
Bitmap
)
Content copied to clipboard
Functions
build
Link copied to clipboard
androidJvm
fun
build
():
ImageNinePatchExtensionImpl
Content copied to clipboard
Build the ImageNinePatchExtensionImpl.
equals
Link copied to clipboard
androidJvm
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
androidJvm
open fun
hashCode
():
Int
Content copied to clipboard
scale
Link copied to clipboard
androidJvm
fun
scale
(scale:
Float
):
ImageNinePatchExtensionImpl.Builder
Content copied to clipboard
Scale factor for the image.
sdf
Link copied to clipboard
androidJvm
fun
sdf
(sdf:
Boolean
= false):
ImageNinePatchExtensionImpl.Builder
Content copied to clipboard
Option to treat whether image is SDF(signed distance field) or not.
toString
Link copied to clipboard
androidJvm
open fun
toString
():
String
Content copied to clipboard
Properties
bitmap
Link copied to clipboard
androidJvm
val
bitmap
:
Bitmap
Content copied to clipboard
Actual 9-patch bitmap.
imageId
Link copied to clipboard
androidJvm
val
imageId
:
String
Content copied to clipboard
ID of the image.