Skip to content

Tag Definition: curvesto

Generated by rlextra version 4.3.0a1

Attributes

Name

Required?

Default_Value

Values

Can contain
(#PCDATA)

Purpose

This lets you define 3 pairs of coordinates to define a curve in a path. With your starting coordinates that makes 4 pairs. This is then be used to define a bezier curve as seen in the docs

See the relevant rml samples here and here

Example usage

<pageGraphics>
    <path x="0" y="89.93" close="yes" stroke="yes" clip="yes">
        <moveto>128.755 15.979</moveto>
        <curvesto>43.5303 37.2158 10.1621 71.8726 0 78.8896</curvesto>
        0 164.063
        <curvesto>40.6992 167.07 105.996 158.279 174.089 141.313</curvesto>
        <curvesto>237.792 125.438 281.841 105.292 319.089 83.2666</curvesto>
        319.089 3.646
        <curvesto>274.999 -2.29736 203.875 -2.73926 128.755 15.9795</curvesto>
    </path>
</pageGraphics>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <template> ➔ <pageTemplate> ➔ <pageGraphics> ➔ <path> ➔ <curvesto>