Files
divkit/json-builder/python/pydivkit/div/div_radial_gradient_relative_center.py
T
mosquito 573f9d62b8 Autoreformat code while building
autoreformat while build
2022-10-27 15:57:10 +03:00

35 lines
716 B
Python

# Generated code. Do not modify.
# flake8: noqa: F401, F405, F811
from __future__ import annotations
import enum
import typing
from pydivkit.core import BaseDiv, Field
# Relative central point of the gradient.
class DivRadialGradientRelativeCenter(BaseDiv):
def __init__(
self, *,
value: float,
type: str = "relative",
):
super().__init__(
type=type,
value=value,
)
type: str = Field(default="relative")
value: float = Field(
description=(
"Shift value of the central relative point of the gradient "
"in the range `0..1`."
),
)
DivRadialGradientRelativeCenter.update_forward_refs()