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

Add Bevel & Emboss Effect

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • None
    • javafx

    Description

      Add a new effect to Java FX for Bevel & Emboss the same as the photoshop layer style. Not all the settings of the photoshop version are critical to start with. The important ones are:

      style: NOW Inner Bevel, Outer Bevel, LATER Emboss, Pillow Emboss & Stroke Emboss
      depth: 0-100%
      direction: Up or Down
      size: 0+ px
      soften: 0+ px
      angle: 0-360
      highlight mode: Screen LATER others
      highlight opacity: 0-100%
      shadow mode: Multiply LATER others
      shadow opacity: 0-100%

      I will attach a screen shot of the full set of controls. At the moment I can attempt to work around using a combination of 2 inner shadow effects and a blend effect but the results are not great. Example code for work around:

                         effect: Blend {
                             bottomInput: InnerShadow { color: Color.BLACK offsetX: -1 offsetY: 1 radius: 2 }
                             topInput: InnerShadow { color: Color.WHITE offsetX: 1 offsetY: -1 radius: 2 }
                             mode: BlendMode.OVERLAY
                         }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jasper Jasper Potts (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Imported: