Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8102669

Make javafx.scene.Node.hasTransforms() public

XMLWordPrintable

      There's a private method inside Node "private boolean hasTransforms()" which is
      used to avoid getTransforms() when there are none. The getTransforms() call
      would instantiate a property or properties unnecessarily.

      In the Text subclass I need to call hasTransforms() but its private.
      As a result I am forced to call getTransforms() which is inefficient.
      I see no harm in making this method public.

            lnerad Ľubomír Nerád (Inactive)
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: