class
TelegramBot::StoryAreaPosition
- TelegramBot::StoryAreaPosition
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/story.crConstructors
- .new(x_percentage : Float64, y_percentage : Float64, width_percentage : Float64, height_percentage : Float64, rotation_angle : Float64, corner_radius_percentage : Float64)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #corner_radius_percentage : Float64
- #corner_radius_percentage=(corner_radius_percentage : Float64)
- #height_percentage : Float64
- #height_percentage=(height_percentage : Float64)
- #rotation_angle : Float64
- #rotation_angle=(rotation_angle : Float64)
- #width_percentage : Float64
- #width_percentage=(width_percentage : Float64)
- #x_percentage : Float64
- #x_percentage=(x_percentage : Float64)
- #y_percentage : Float64
- #y_percentage=(y_percentage : Float64)
Constructor Detail
def self.new(x_percentage : Float64, y_percentage : Float64, width_percentage : Float64, height_percentage : Float64, rotation_angle : Float64, corner_radius_percentage : Float64)
#