Class representing ColorBarAnnotation Annotation. Property Color ignored instead used ColorsOfCMYK color. On creation the ratio of width and height determines the orientation of the Annotation - horizontal or vertical. Next it checks that the Annotation rectangle is outside the TrimBox and if not then it is shifted to the nearest location outside the TrimBox taking into account the orientation of the Annotation. It is possible to reduce the width height so that the Annotation fits outside the TrimBox. If there is no space for the layout the width/height can be set to zero in this case the Annotation is present on the page but not displayed....representing ColorBarAnnotation annotation. Property Color ignored,...determines the orientation of the annotation - horizontal or vertical...