Triangleサンプル1
Triangleサンプル1(『<biz-Stream_home>/sample/xml/Triangle/TriangleSample1.xml
』)
<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Name="TriangleSample1" Width="100" Height="100" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:bs="http://www.brainsellers.com/schema" xmlns:svg="http://www.brainsellers.com/schema" xmlns:form="http://www.brainsellers.com/schema" xmlns:pdf="http://www.brainsellers.com/schema" version="5.0.0">
<!-- 外枠(青線) -->
<Square Width="60" Height="40" X="10" Y="10" LineColor="14,0,176" LineStyle="Solid"/>
<!-- 三角形 -->
<Triangle Name="Triangle1" Width="10" Height="10" X="15" Y="20" FillColor="153,204,255" LineStyle="Solid"/>
<Triangle Name="Triangle2" Width="10" Height="20" X="30" Y="20" FillColor="153,204,255" LineStyle="Solid"/>
<Triangle Name="Triangle3" Width="20" Height="10" X="45" Y="20" LineColor="0,0,255" LineWidth="1" FillColor="153,204,255" LineStyle="Solid"/>
</Layout>
生成されるPDF(『<biz-Stream_home>/sample/xml/Triangle /TriangleSample1.pdf
』)
- ①Triangle1
- ②Triangle2
- ③Triangle3
座標は、左頂点の位置に反映されます。
【 大きさおよび、座標の指定方法 】
