One of the geometries a title was measured in.
Class: xbmc.ContentGeometrySection()
Carried by ContentGeometry for a title whose picture changes shape partway through. Obtained from ContentGeometry.getSections() rather than created.
- v23 Python API changes
- New class added.
◆ getX()
Function: getX()
Get the left edge of the section, in display space.
- Returns
- [float] Left edge in display pixels
- v23 Python API changes
- New function added.
◆ getY()
Function: getY()
Get the top edge of the section, in display space.
- Returns
- [float] Top edge in display pixels
- v23 Python API changes
- New function added.
◆ getWidth()
Function: getWidth()
Get the width of the section, in display space.
- Returns
- [float] Width in display pixels
- v23 Python API changes
- New function added.
◆ getHeight()
Function: getHeight()
Get the height of the section, in display space.
- Returns
- [float] Height in display pixels
- v23 Python API changes
- New function added.
◆ getAspect()
Function: getAspect()
Get the ratio the section was shot at.
- Returns
- [float] Aspect ratio of the section
- v23 Python API changes
- New function added.
◆ getLabel()
Function: getLabel()
Get the section's ratio as Kodi writes it, e.g.
2.35.
- Returns
- [string] Aspect ratio label
- v23 Python API changes
- New function added.
◆ getName()
Function: getName()
Get what the section's ratio is called, e.g.
Scope. Empty when it has no name. Not translated.
- Returns
- [string] Aspect ratio name
- v23 Python API changes
- New function added.