Skip to content

Tag Definition: moveto

Generated by rlextra version 4.3.0a1

Attributes

Name

Required?

Default_Value

Values

Can contain
(#PCDATA)

Purpose

This lets you move the location of where you are currently drawing from within path.

See the relevant rml sample here. See the relevant docs here.

Example usage

<story>
    <illustration width="100" height="100">
        <stroke color="red" width="2"/>
        <fill color="blue"/>
        <path x="10" y="10" close="no" autoclose="svg" clip="no" fillrule="even-odd" stroke="1" fill="1">
            10 90 20 90 20 10 <closePath/>
            <moveto>30 10</moveto>30 90 40 90 40 10<closePath/>
            <moveto>50 10</moveto>50 90 60 90 60 10<closePath/>
        </path>
    </illustration>
</story>

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> ➔ <story> ➔ <illustration> ➔ <path> ➔ <moveto>