Пример #1
0
    public Shape getReflectionClip() {
      if (reflection == null || !getSkinnable().getClipReflections()) {
        return null;
      }

      return new Polygon(
          ulReflection2d.getX(), ulReflection2d.getY(),
          urReflection2d.getX(), urReflection2d.getY(),
          perspectiveTransform.getLrx(), perspectiveTransform.getLry(),
          perspectiveTransform.getLlx(), perspectiveTransform.getLly());
    }