.withText("Hello World!") .withHorizontalAnchorPoint(HorizontalAnchorPoint.Center) .withVerticalAnchorPoint(VerticalAnchorPoint.Center) .withFontStyle(20, ColorUtil.White) .build();
.withText("Hello World!") .withHorizontalAnchorPoint(HorizontalAnchorPoint.Center) .withVerticalAnchorPoint(VerticalAnchorPoint.Center) .withFontStyle(20, ColorUtil.White) .build();
.withText("Hello World!") .withHorizontalAnchorPoint(HorizontalAnchorPoint.Center) .withVerticalAnchorPoint(VerticalAnchorPoint.Center) .withFontStyle(20, ColorUtil.White) .build();
.withText("Hello World!") .withHorizontalAnchorPoint(HorizontalAnchorPoint.Center) .withVerticalAnchorPoint(VerticalAnchorPoint.Center) .withFontStyle(20, ColorUtil.White) .build();
.withX1(10) .withY1(30.5d) .withVerticalAnchorPoint(VerticalAnchorPoint.Bottom) .withFontStyle(20, ColorUtil.White) .withZIndex(1) // draw this annotation above other annotations
.withCoordinateMode(AnnotationCoordinateMode.Relative) .withHorizontalAnchorPoint(HorizontalAnchorPoint.Center) .withVerticalAnchorPoint(VerticalAnchorPoint.Center) .withText("Create \n Watermarks") .withTextGravity(Gravity.CENTER) .withY1(8d) .withHorizontalAnchorPoint(HorizontalAnchorPoint.Center) .withVerticalAnchorPoint(VerticalAnchorPoint.Bottom) .withText("Anchor Center (X1, Y1)") .build(), .withY1(8d) .withHorizontalAnchorPoint(HorizontalAnchorPoint.Right) .withVerticalAnchorPoint(VerticalAnchorPoint.Top) .withText("Anchor Right") .build(), .withY1(8d) .withHorizontalAnchorPoint(HorizontalAnchorPoint.Left) .withVerticalAnchorPoint(VerticalAnchorPoint.Top) .withText("or Anchor Left") .build(), .withX1(0.3).withY1(6.1) .withFontStyle(12, ColorUtil.White) .withVerticalAnchorPoint(VerticalAnchorPoint.Bottom) .build(),
.withText("Hello World!") .withHorizontalAnchorPoint(HorizontalAnchorPoint.Center) .withVerticalAnchorPoint(VerticalAnchorPoint.Center) .withFontStyle(20, ColorUtil.White) .build();
.withText("Hello World!") .withHorizontalAnchorPoint(HorizontalAnchorPoint.Center) .withVerticalAnchorPoint(VerticalAnchorPoint.Center) .withFontStyle(20, ColorUtil.White) .build();
.withText("Custom Spline Chart") .withHorizontalAnchorPoint(HorizontalAnchorPoint.Center) .withVerticalAnchorPoint(VerticalAnchorPoint.Top) .withCoordinateMode(AnnotationCoordinateMode.Relative) .withX1(0.5)