![JAR search and dependency download from the Maven repository](/logo.png)
com.yandex.div.dsl.model.DivCircleShape.kt Maven / Gradle / Ivy
// Generated code. Do not modify.
package com.yandex.div.dsl.model
import java.net.URI
import com.fasterxml.jackson.annotation.*
import com.yandex.div.dsl.*
import com.yandex.div.dsl.context.*
import com.yandex.div.dsl.type.*
import com.yandex.div.dsl.util.*
class DivCircleShape internal constructor(
@JsonIgnore val radius: Property?,
) : DivShape {
@JsonProperty("type") override val type = "circle"
@JsonAnyGetter
internal fun properties(): Map {
return propertyMapOf(
"radius" to radius,
)
}
}
fun TemplateContext.divCircleShape(): LiteralProperty {
return value(DivCircleShape(
radius = null,
))
}
fun TemplateContext.divCircleShape(
radius: Property? = null,
): LiteralProperty {
return value(DivCircleShape(
radius = radius,
))
}
fun TemplateContext.divCircleShape(
radius: DivFixedSize? = null,
): LiteralProperty {
return value(DivCircleShape(
radius = optionalValue(radius),
))
}
fun CardContext.divCircleShape(): DivCircleShape {
return DivCircleShape(
radius = null,
)
}
fun CardContext.divCircleShape(
radius: ValueProperty? = null,
): DivCircleShape {
return DivCircleShape(
radius = radius,
)
}
fun CardContext.divCircleShape(
radius: DivFixedSize? = null,
): DivCircleShape {
return DivCircleShape(
radius = optionalValue(radius),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy