Page updated: 02 November 2022
CRMGraphicBlock methods
- Arc(X1, Y1, X2, Y2, X3, Y3, X4, Y4). Draws an elliptically curved line.
- Animation(Mode, Value). Sets animation parameters.
- Brush(Mode, Value). Changes the color and pattern used when drawing the background or filling in graphical shapes.
- Chord(X1,Y1,X2,Y2,X3,Y3,X4,Y4). Creates a shape that is defined by an arc and a line that joins the endpoints of the arc.
- Effect(Mode, Value). Applies effects.
- Ellipse(X1,Y1,X2,Y2). Draws a circle or ellipse.
- FlipHoriz(). Flips the image horizontally.
- FlipVert(). Flips the image vertically.
- Font(Mode, Value). Changes the current font.
- FontColor(Color). Changes the color of the current font.
- FontSize(Size). Changes the size of the current font.
- GradientFill(StartColor, EndColor, Direction, Colors). Fills the graphic with a gradient of colors.
- GrayScale(). Converts an image to grayscale.
- LoadBMP(Filename).
Loads a specified bitmap file as the new image.
- LoadImage(text). Loads image from the specified file.
- LoadJPG(Filename). Loads an image from the specified JPEG file.
- LineTo(X,Y). Draws a line from the initial pen position up to the points specified in the method parameters.
- Monochrome(). Converts an image to monochrome (black and white).
- MoveTo(X,Y). Moves the pen to the specified coordinates.
- Pen(Mode, Value). Sets the appearance of a line drawn with the current pen.
- PenColor(Color). Sets the color for the current pen.
- PenWidth(Width). Sets the line width for the current pen.
- PieShape(X1,Y1,X2,Y2,X3,Y3,X4,Y4). Draws a pie-shaped wedge on the image.
- Rectangle(X1,Y1,X2,Y2). Draws a rectangle.
- Resize(Width, Height). Sets the dimensions of the image.
- Rotate(Number). Rotates an image.
- RoundRect(X1,Y1,X2,Y2,X3,Y3). Draws a rounded rectangle.
- SaveAsJPG(text). Saves the current image as a .jpeg file with 16-bit color depth.
- TextOut(X, Y, Text, transparent=True/False). Writes text on an image.
- TextOutCenter(Left, Top, Right, Bottom, Text, Transparent, Ellipse). Writes text on an image and centers it in a rectangle area defined by the parameters.
|
|