Class: DistortionProps

DistortionProps()

 Class for distortion properties
 It distorts the corners of the elements

Constructor

new DistortionProps()

Creates an instance of DistortionProps.
Source:

Classes

DistortionProps

Members

bottomLeftX :number

 Set/Get bottom left x value
 Examples:
   - 0 - no distortion
   - 0.5 - push the bottom left corners x position with the half of the element width
Type:
  • number
Source:

bottomLeftY :number

 Set/Get bottom left y value
 Examples:
   - -0 - no distortion
   - -0.5 - push the bottom left corners y position with the half of the element height
Type:
  • number
Source:

bottomRightX :number

 Set/Get bottom right x value
 Examples:
   - -0 - no distortion
   - -0.5 - push the bottom right corners x position with the half of the element width
Type:
  • number
Source:

bottomRightY :number

 Set/Get bottom right y value
 Examples:
   - -0 - no distortion
   - -0.5 - push the bottom right corners y position with the half of the element height
Type:
  • number
Source:

topLeftX :number

 Set/Get top left x value
 Examples:
   - 0 - no distortion
   - 0.5 - push the top left corners x position with the half of the element width
Type:
  • number
Source:

topLeftY :number

 Set/Get top left y value
 Examples:
   - 0 - no distortion
   - 0.5 - push the top left corners y position with the half of the element height
Type:
  • number
Source:

topRightX :number

 Set/Get top right x value
 Examples:
   - -0 - no distortion
   - -0.5 - push the top right corners x position with the half of the element width
Type:
  • number
Source:

topRightY :number

 Set/Get top right y value
 Examples:
   - 0 - no distortion
   - 0.5 - push the top right corners y position with the half of the element height
Type:
  • number
Source: