共用方式為


ISVGLineElement interface

Defines the attributes that are required for drawing line segments that start at one point and end at another point. This interface corresponds to the SVG SVGLineElement.

Note  Because line elements are single lines and thus are geometrically one-dimensional, they have no interior and the fill property does not apply.

 

Members

The ISVGLineElement interface inherits from the IDispatch interface. ISVGLineElement also has these types of members:

  • Properties

Properties

The ISVGLineElement interface has these properties.

Property Access type Description

ISVGLineElement::x1

Read/write

Gets or sets the x-coordinate for the start of a line.

ISVGLineElement::x2

Read/write

Gets or sets the x-coordinate for the end of a line.

ISVGLineElement::y1

Read/write

Gets or sets the y-coordinate for the start of a line.

ISVGLineElement::y2

Read/write

Gets or sets the y-coordinate for the end of a line.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch