Class CmsTranslate

java.lang.Object
org.opencms.ade.galleries.client.preview.util.CmsTranslate
All Implemented Interfaces:
I_CmsTransform

public class CmsTranslate extends Object implements I_CmsTransform
Simple translation by x/y offset.

  • Constructor Summary

    Constructors
    Constructor
    Description
    CmsTranslate(double cx, double cy)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.opencms.ade.galleries.shared.CmsPoint
    transformBack(org.opencms.ade.galleries.shared.CmsPoint point)
    Applies the inverse of the transformation to a point.
    org.opencms.ade.galleries.shared.CmsPoint
    transformForward(org.opencms.ade.galleries.shared.CmsPoint point)
    Applies the transformation to a point.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait