![]() ![]() The following code snippet shows the steps to render Rectangle objects on top of each other. Z-Order is also used when we need to render objects on top of each other. When adding more than one instance of same object inside PDF file, we can control their rendering by specifying the Z-Order. ![]() Package import import import import import import import import .* public class WorkingWithGraphs Īspose.PDF for Java supports the feature to add graph objects (for example graph, line, rectangle etc.) to PDF documents. You also get the leverage to add Rectangle object where you also offers the feature to fill rectangle object with a certain color, control Z-Order, add gradiant color fill and etc.įirst, let’s look at the possibility of creating a Rectangle object.Īdd Text fragment to paragraphs collection of page instanceĪdd Rectangle object to shapes collection of Graph objectĪdd graph object to paragraphs collection of page instance But when we pass an object to a method, the situation changes dramatically, because objects are passed by. When we pass a primitive type to a method, it is passed by value. ![]() Create Rectangle with Alpha color channelĪspose.PDF for Java supports the feature to add graph objects (for example graph, line, rectangle etc.) to PDF documents. Although Java is strictly passed by value, the precise effect differs between whether a primitive type or a reference type is passed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |