Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.04 KB

ModelRect.md

File metadata and controls

34 lines (25 loc) · 1.04 KB

ModelRect

Screen area within the bezel.

Properties

Name Type Description Notes
top float Offset from the top edge.
left float Offset from the left edge.
width float Width.
height float Height.
radius float Corner radius, as a fraction of the width. [optional]

Example

from corellium.models.model_rect import ModelRect

# TODO update the JSON string below
json = "{}"
# create an instance of ModelRect from a JSON string
model_rect_instance = ModelRect.from_json(json)
# print the JSON string representation of the object
print(ModelRect.to_json())

# convert the object into a dict
model_rect_dict = model_rect_instance.to_dict()
# create an instance of ModelRect from a dict
model_rect_from_dict = ModelRect.from_dict(model_rect_dict)

[Back to Model list] [Back to API list] [Back to README]