Package com.aspose.slides

Examples of com.aspose.slides.OuterShadow


    // Disable shape fill in case we want to get shadow of text.
    ashp.getFillFormat().setFillType(FillType.NoFill);

    // Add outer shadow and set all necessary parameters
    OuterShadow shadow = new OuterShadow();
    ashp.getEffectFormat().setOuterShadowEffect(shadow);
    shadow.setBlurRadius(4.0);
    shadow.setDirection(45);
    shadow.setDistance(3);
    shadow.setRectangleAlign(RectangleAlignment.TopLeft);
    shadow.getShadowColor().setPresetColor(PresetColor.Black);

    // Write the presentation to disk
    pres.save("data/AsposeTextShadow.pptx", SaveFormat.Pptx);
    System.out.println("Done");
  }
View Full Code Here

TOP

Related Classes of com.aspose.slides.OuterShadow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.