---
title: "MTFillExtrusionTranslateAnchor.valueOf | Mobile sdk | Mobile sdk android | Android"
description: "valueOf"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# MTFillExtrusionTranslateAnchor.valueOf

fun [valueOf](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style.layer.fillextrusion/-m-t-fill-extrusion-translate-anchor/value-of/)(value: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [MTFillExtrusionTranslateAnchor](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style.layer.fillextrusion/-m-t-fill-extrusion-translate-anchor/)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

#### Throws

[IllegalArgumentException](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html)

if this enum type has no constant with the specified name
