# ILineFormat

## Content

<div class="docapp-java-api-doc-main"><style>:not(h1, h2, h3, h4, h5, h6)>code,
:not(h1, h2, h3, h4, h5, h6)>tt {
    font-size: 14px;
    padding-top: 4px;
    margin-top: 8px;
    line-height: 1.4em;
}

.summary-table dt code {
    font-size: 14px;
    vertical-align: top;
    padding-top: 4px;
}

.tab {
    background-color: #0066FF;
    color: #ffffff;
    padding: 8px;
    width: 5em;
    font-weight: bold;
}

/*
 * Styles for page header and footer.
 */
.title {
    color: #2c4557;
    margin: 10px 0;
}

.sub-title {
    margin: 5px 0 0 0;
}

.header ul {
    margin: 0 0 15px 0;
    padding: 0;
}

.header ul li,
.footer ul li {
    list-style: none;
}

/*
 * Styles for headings.
 */
.summary h2,
.details h2,
h2,
.block-list h2 {
    padding: 0;
    margin: 15px 0;
}

.summary h3,
.details h3,
.summary .inherited-list h2 {
    background-color: var(--ds-product-color);
    color: #fff;
    border: 1px solid #d0d9e0;
    padding: 7px 5px;
}

.summary h3 a,
.details h3 a,
.summary .inherited-list h2 a {
    color: #fff !important;
}
/*
 * Styles for page layout containers.
 */
dl.notes>dt {
    font-size: 12px;
    font-weight: bold;
    margin: 10px 0 0 0;
    color: #4E4E4E;
}

dl.notes>dd {
    margin: 5px 10px 10px 0;
    font-size: 14px;
}

dl.name-value>dt {
    margin-left: 1px;
    font-size: 1.1em;
    display: inline;
    font-weight: bold;
}

dl.name-value>dd {
    margin: 0 0 0 1px;
    font-size: 1.1em;
    display: inline;
}

/*
 * Styles for lists.
 */
li.circle {
    list-style: circle;
}

ul.horizontal li {
    display: inline;
    font-size: 0.9em;
}

div.inheritance {
    margin: 0;
    padding: 0;
}

div.inheritance div.inheritance {
    margin-left: 2em;
}

ul.block-list,
ul.details-list,
ul.member-list,
ul.summary-list {
    margin: 10px 0 10px 0;
    padding: 0;
}

ul.block-list>li,
ul.details-list>li,
ul.member-list>li,
ul.summary-list>li {
    list-style: none;
    margin-bottom: 15px;
    line-height: 1.4;
}

.summary-table dl,
.summary-table dl dt,
.summary-table dl dd {
    margin-top: 0;
    margin-bottom: 1px;
}

ul.see-list,
ul.see-list-long {
    padding-left: 0;
    list-style: none;
}

ul.see-list li {
    display: inline;
}

ul.see-list li:not(:last-child):after,
ul.see-list-long li:not(:last-child):after {
    content: ", ";
    white-space: pre-wrap;
}

/*
 * Styles for tables.
 */
.summary-table,
.details-table {
    width: 100%;
    border-spacing: 0;
    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    padding: 0;
}

.caption {
    position: relative;
    text-align: left;
    background-repeat: no-repeat;
    color: #253441;
    font-weight: bold;
    clear: none;
    overflow: hidden;
    padding: 0;
    padding-top: 10px;
    padding-left: 1px;
    margin: 0;
    white-space: pre;
}

.caption a:link,
.caption a:visited {
    color: #1f389c;
}

.caption a:hover,
.caption a:active {
    color: #FFFFFF;
}

.caption span {
    white-space: nowrap;
    padding-top: 5px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 7px;
    display: inline-block;
    background-color: var(--ds-product-color);
    color: #fff;
    border: none;
}

div.table-tabs {
    padding: 10px 0 0 1px;
    margin: 0;
}

div.table-tabs>button {
    border: none;
    cursor: pointer;
    padding: 5px 12px 7px 12px;
    font-weight: bold;
    margin-right: 3px;
}

div.table-tabs>button.active-table-tab {
    background: var(--ds-product-color);
    color: #fff;
}

div.table-tabs>button.table-tab {
    background: var(--ds-product-color);
    color: #FFFFFF;
    border-bottom: 1px solid #eee;
}

.two-column-summary {
    display: grid;
    grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
}

.three-column-summary {
    display: grid;
    grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, auto);
}

.four-column-summary {
    display: grid;
    grid-template-columns: minmax(10%, max-content) minmax(10%, max-content) minmax(10%, max-content) minmax(10%, auto);
}

@media screen and (max-width: 600px) {
    .two-column-summary {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 800px) {
    .three-column-summary {
        display: grid;
        grid-template-columns: minmax(10%, max-content) minmax(25%, auto);
    }

    .three-column-summary .col-last {
        grid-column-end: span 2;
    }
}

@media screen and (max-width: 1000px) {
    .four-column-summary {
        display: grid;
        grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
    }
}

.summary-table>div,
.details-table>div {
    text-align: left;
    padding: 8px 3px 3px 7px;
}

.col-first,
.col-second,
.col-last,
.col-constructor-name,
.col-summary-item-name {
    vertical-align: top;
    padding-right: 0;
    padding-top: 8px;
    padding-bottom: 3px;
}

.table-header {
    background: var(--ds-product-color);
    color: #fff;
    font-weight: bold;
}

.col-first,
.col-first {
    font-size: 13px;
}

.col-second,
.col-second,
.col-last,
.col-constructor-name,
.col-summary-item-name,
.col-last {
    font-size: 13px;
}

.col-first,
.col-second,
.col-constructor-name {
    vertical-align: top;
    overflow: auto;
}

.col-last {
    white-space: normal;
}

.col-first a:link,
.col-first a:visited,
.col-second a:link,
.col-second a:visited,
.col-first a:link,
.col-first a:visited,
.col-second a:link,
.col-second a:visited,
.col-constructor-name a:link,
.col-constructor-name a:visited,
.col-summary-item-name a:link,
.col-summary-item-name a:visited,
.constant-values-container a:link,
.constant-values-container a:visited,
.all-classes-container a:link,
.all-classes-container a:visited,
.all-packages-container a:link,
.all-packages-container a:visited {
    font-weight: bold;
}

.table-sub-heading-color {
    background-color: #EEEEFF;
}

.even-row-color,
.even-row-color .table-header {
    background-color: #FFFFFF;
}

.odd-row-color,
.odd-row-color .table-header {
    background-color: #EEEEEF;
}

/*
 * Styles for contents.
 */
.deprecated-content {
    margin: 0;
    padding: 10px 0;
}

div.block {
    font-size: 14px;
}

.col-last div {
    padding-top: 0;
}

.col-last a {
    padding-bottom: 3px;
}

.module-signature,
.package-signature,
.type-signature,
.member-signature {
    font-size: 14px;
    margin: 14px 0;
    white-space: pre-wrap;
}

.module-signature,
.package-signature,
.type-signature {
    margin-top: 0;
}

.member-signature .type-parameters-long,
.member-signature .parameters,
.member-signature .exceptions {
    display: inline-block;
    vertical-align: top;
    white-space: pre;
}

.member-signature .type-parameters {
    white-space: normal;
}

/*
 * Styles for formatting effect.
 */
.source-line-no {
    color: green;
    padding: 0 30px 0 0;
}

h1.hidden {
    visibility: hidden;
    overflow: hidden;
    font-size: 10px;
}

.block {
    display: block;
    margin: 0 10px 5px 0;
    color: #474747;
}

.deprecated-label,
.descfrm-type-label,
.implementation-label,
.member-name-label,
.member-name-link,
.module-label-in-package,
.module-label-in-type,
.override-specify-label,
.package-label-in-type,
.package-hierarchy-label,
.type-name-label,
.type-name-link,
.search-tag-link,
.preview-label {
    font-weight: bold;
}

.deprecation-block {
    font-size: 14px;
    border-style: solid;
    border-width: thin;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
}

.preview-block {
    font-size: 14px;
    border-style: solid;
    border-width: thin;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
}

/*
 * Styles for user-provided tables.
 *
 * borderless:
 *      No borders, vertical margins, styled caption.
 *      This style is provided for use with existing doc comments.
 *      In general, borderless tables should not be used for layout purposes.
 *
 * plain:
 *      Plain borders around table and cells, vertical margins, styled caption.
 *      Best for small tables or for complex tables for tables with cells that span
 *      rows and columns, when the "striped" style does not work well.
 *
 * striped:
 *      Borders around the table and vertical borders between cells, striped rows,
 *      vertical margins, styled caption.
 *      Best for tables that have a header row, and a body containing a series of simple rows.
 */

table.borderless,
table.plain,
table.striped {
    margin-top: 10px;
    margin-bottom: 10px;
}

table.borderless>caption,
table.plain>caption,
table.striped>caption {
    font-weight: bold;
    font-size: smaller;
}

table.borderless th,
table.borderless td,
table.plain th,
table.plain td,
table.striped th,
table.striped td {
    padding: 2px 5px;
}

table.borderless,
table.borderless>thead>tr>th,
table.borderless>tbody>tr>th,
table.borderless>tr>th,
table.borderless>thead>tr>td,
table.borderless>tbody>tr>td,
table.borderless>tr>td {
    border: none;
}

table.borderless>thead>tr,
table.borderless>tbody>tr,
table.borderless>tr {
    background-color: transparent;
}

table.plain {
    border-collapse: collapse;
    border: 1px solid black;
}

table.plain>thead>tr,
table.plain>tbody tr,
table.plain>tr {
    background-color: transparent;
}

table.plain>thead>tr>th,
table.plain>tbody>tr>th,
table.plain>tr>th,
table.plain>thead>tr>td,
table.plain>tbody>tr>td,
table.plain>tr>td {
    border: 1px solid black;
}

table.striped {
    border-collapse: collapse;
    border: 1px solid black;
}

table.striped>thead {
    background-color: #E3E3E3;
}

table.striped>thead>tr>th,
table.striped>thead>tr>td {
    border: 1px solid black;
}

table.striped>tbody>tr:nth-child(even) {
    background-color: #EEE
}

table.striped>tbody>tr:nth-child(odd) {
    background-color: #FFF
}

table.striped>tbody>tr>th,
table.striped>tbody>tr>td {
    border-left: 1px solid black;
    border-right: 1px solid black;
}

table.striped>tbody>tr>th {
    font-weight: normal;
}
</style><h1>Interface ILineFormat</h1>
<!-- ======== START OF CLASS DATA ======== -->

<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">ILineFormat</span></div>
<div class="block">Represents line and arrowhead formatting for a shape or chart element. <p>This interface provides access to line appearance settings such as solid or patterned color,  fill type, dash style, cap style, join style, transparency, visibility, weight, and  arrowhead settings at both the beginning and end of a line. It is typically obtained from  APIs such as  <a href="IShape.html#getLine()"><code>IShape.getLine()</code></a>.</p>
<pre><code data-language="Java">
 IShape shape = worksheet.getShapes().addShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
 ILineFormat line = shape.getLine();
 line.getColor().setRGB(Color.GetRed());
 line.setWeight(2.0);
 line.setEndArrowheadStyle(ArrowheadStyle.Triangle);
 </code></pre></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div aria-orientation="horizontal" class="table-tabs" role="tablist"><button aria-controls="method-summary-table.tabpanel" aria-selected="true" class="active-table-tab" id="method-summary-table-tab0" onclick="show('method-summary-table', 'method-summary-table', 3)" onkeydown="switchTab(event)" role="tab" tabindex="0">All Methods</button><button aria-controls="method-summary-table.tabpanel" aria-selected="false" class="table-tab" id="method-summary-table-tab2" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" onkeydown="switchTab(event)" role="tab" tabindex="-1">Instance Methods</button><button aria-controls="method-summary-table.tabpanel" aria-selected="false" class="table-tab" id="method-summary-table-tab3" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" onkeydown="switchTab(event)" role="tab" tabindex="-1">Abstract Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div aria-labelledby="method-summary-table-tab0" class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadLength</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBeginArrowheadLength()">getBeginArrowheadLength</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the length of the arrowhead at the beginning of the specified line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadStyle</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBeginArrowheadStyle()">getBeginArrowheadStyle</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the style of the arrowhead at the beginning of the specified line.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadWidth</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBeginArrowheadWidth()">getBeginArrowheadWidth</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the width of the arrowhead at the beginning of the specified line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="LineCapStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineCapStyle</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getCapStyle()">getCapStyle</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the cap style for the end of the line.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IColorFormat.html" title="interface in com.grapecity.documents.excel.drawing">IColorFormat</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getColor()">getColor</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IColorFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>IColorFormat</code></a> object that represents the specified solid color.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="LineDashStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineDashStyle</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getDashStyle()">getDashStyle</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the dash style for the specified line.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadLength</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getEndArrowheadLength()">getEndArrowheadLength</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the length of the arrowhead at the end of the specified line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadStyle</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getEndArrowheadStyle()">getEndArrowheadStyle</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the style of the arrowhead at the end of the specified line.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadWidth</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getEndArrowheadWidth()">getEndArrowheadWidth</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the width of the arrowhead at the end of the specified line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getGradientAngle()">getGradientAngle</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the angle of the gradient line for the specified line format.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getGradientDegree()">getGradientDegree</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the gradient degree of the specified one-color shaded line as a  floating-point value from 0.0 (dark) through 1.0 (light).</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IGradientStops.html" title="interface in com.grapecity.documents.excel.drawing">IGradientStops</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getGradientStops()">getGradientStops</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the end point for the gradient line.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing">GradientStyle</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getGradientStyle()">getGradientStyle</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the gradient style for the specified line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getGradientVariant()">getGradientVariant</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the shade variant for the specified fill as an integer value from 1 through 4.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getInsetPen()">getInsetPen</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether lines are drawn inside the specified shape's boundaries.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="LineJoinStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineJoinStyle</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getJoinStyle()">getJoinStyle</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the corners style of two intersecting lines.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="PatternType.html" title="enum class in com.grapecity.documents.excel.drawing">PatternType</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPattern()">getPattern</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the line pattern.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IColorFormat.html" title="interface in com.grapecity.documents.excel.drawing">IColorFormat</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPatternColor()">getPatternColor</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the  <a href="IColorFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>IColorFormat</code></a> object that represents the specified color of patterns.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="LineStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineStyle</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getStyle()">getStyle</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="LineStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineStyle</code></a> object that represents the <a href="ILineFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>ILineFormat</code></a> style.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getTransparency()">getTransparency</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the degree of transparency of the specified line as a value from 0.0 (opaque) through 1.0 (clear).</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="FillType.html" title="enum class in com.grapecity.documents.excel.drawing">FillType</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getType()">getType</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the fill type of the line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getVisible()">getVisible</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the object is visible.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getWeight()">getWeight</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the weight of the line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#oneColorGradient(com.grapecity.documents.excel.drawing.GradientStyle,int,double)">oneColorGradient</a><wbr>(<a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing">GradientStyle</a>&nbsp;style,
 int&nbsp;variant,
 double&nbsp;degree)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the specified line to a one-color gradient.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#patterned(com.grapecity.documents.excel.drawing.PatternType)">patterned</a><wbr>(<a href="PatternType.html" title="enum class in com.grapecity.documents.excel.drawing">PatternType</a>&nbsp;pattern)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the specified line to a pattern color.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#presetGradient(com.grapecity.documents.excel.drawing.GradientStyle,int,com.grapecity.documents.excel.drawing.PresetGradientType)">presetGradient</a><wbr>(<a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing">GradientStyle</a>&nbsp;style,
 int&nbsp;variant,
 <a href="PresetGradientType.html" title="enum class in com.grapecity.documents.excel.drawing">PresetGradientType</a>&nbsp;presetGradientType)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the specified line to a preset gradient.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setBeginArrowheadLength(com.grapecity.documents.excel.drawing.ArrowheadLength)">setBeginArrowheadLength</a><wbr>(<a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadLength</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the length of the arrowhead at the beginning of the specified line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setBeginArrowheadStyle(com.grapecity.documents.excel.drawing.ArrowheadStyle)">setBeginArrowheadStyle</a><wbr>(<a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadStyle</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the style of the arrowhead at the beginning of the specified line.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setBeginArrowheadWidth(com.grapecity.documents.excel.drawing.ArrowheadWidth)">setBeginArrowheadWidth</a><wbr>(<a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadWidth</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the width of the arrowhead at the beginning of the specified line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setCapStyle(com.grapecity.documents.excel.drawing.LineCapStyle)">setCapStyle</a><wbr>(<a href="LineCapStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineCapStyle</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the cap style for the end of the line.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setDashStyle(com.grapecity.documents.excel.drawing.LineDashStyle)">setDashStyle</a><wbr>(<a href="LineDashStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineDashStyle</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the dash style for the specified line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setEndArrowheadLength(com.grapecity.documents.excel.drawing.ArrowheadLength)">setEndArrowheadLength</a><wbr>(<a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadLength</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the length of the arrowhead at the end of the specified line.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setEndArrowheadStyle(com.grapecity.documents.excel.drawing.ArrowheadStyle)">setEndArrowheadStyle</a><wbr>(<a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadStyle</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the style of the arrowhead at the end of the specified line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setEndArrowheadWidth(com.grapecity.documents.excel.drawing.ArrowheadWidth)">setEndArrowheadWidth</a><wbr>(<a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadWidth</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the width of the arrowhead at the end of the specified line.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setGradientAngle(double)">setGradientAngle</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the angle of the gradient line for the specified line format.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setInsetPen(boolean)">setInsetPen</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether lines are drawn inside the specified shape's boundaries.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setJoinStyle(com.grapecity.documents.excel.drawing.LineJoinStyle)">setJoinStyle</a><wbr>(<a href="LineJoinStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineJoinStyle</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the corners style of two intersecting lines.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setStyle(com.grapecity.documents.excel.drawing.LineStyle)">setStyle</a><wbr>(<a href="LineStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineStyle</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the  <a href="LineStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineStyle</code></a> object that represents the <a href="ILineFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>ILineFormat</code></a> style.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setTransparency(double)">setTransparency</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the degree of transparency of the specified line as a value from 0.0 (opaque) through 1.0 (clear).</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setVisible(boolean)">setVisible</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the object is visible.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setWeight(double)">setWeight</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the weight of the line.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#solid()">solid</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the specified line to a uniform color.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#twoColorGradient(com.grapecity.documents.excel.drawing.GradientStyle,int)">twoColorGradient</a><wbr>(<a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing">GradientStyle</a>&nbsp;style,
 int&nbsp;variant)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the specified line to a two-color gradient.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="getPatternColor()">
<h3>getPatternColor</h3>
<div class="member-signature"><span class="return-type"><a href="IColorFormat.html" title="interface in com.grapecity.documents.excel.drawing">IColorFormat</a></span>&nbsp;<span class="element-name">getPatternColor</span>()</div>
<div class="block">Returns the  <a href="IColorFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>IColorFormat</code></a> object that represents the specified color of patterns.<p>Use this method to access and modify the color applied to a patterned line, typically after  calling  <a href="#patterned(com.grapecity.documents.excel.drawing.PatternType)"><code>patterned(PatternType)</code></a> to set the line to a pattern fill.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.patterned(PatternType.Percent10);
 IColorFormat patternColor = line.getPatternColor();
 patternColor.setRGB(Color.GetRed());
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IColorFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>IColorFormat</code></a> object that represents the pattern color of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getColor()">
<h3>getColor</h3>
<div class="member-signature"><span class="return-type"><a href="IColorFormat.html" title="interface in com.grapecity.documents.excel.drawing">IColorFormat</a></span>&nbsp;<span class="element-name">getColor</span>()</div>
<div class="block">Gets the  <a href="IColorFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>IColorFormat</code></a> object that represents the specified solid color.<p>Use this method to access or modify the solid color settings of the line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 IColorFormat color = line.getColor();
 color.setRGB(Color.GetRed());
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IColorFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>IColorFormat</code></a> object that represents the solid color of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getType()">
<h3>getType</h3>
<div class="member-signature"><span class="return-type"><a href="FillType.html" title="enum class in com.grapecity.documents.excel.drawing">FillType</a></span>&nbsp;<span class="element-name">getType</span>()</div>
<div class="block">Returns the fill type of the line. <p>Use this method to determine whether the line is currently configured with  a solid, patterned, or gradient fill.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.patterned(PatternType.Percent10);
 FillType type = line.getType();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="FillType.html" title="enum class in com.grapecity.documents.excel.drawing"><code>FillType</code></a> that indicates the current fill type of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBeginArrowheadLength()">
<h3>getBeginArrowheadLength</h3>
<div class="member-signature"><span class="return-type"><a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadLength</a></span>&nbsp;<span class="element-name">getBeginArrowheadLength</span>()</div>
<div class="block">Gets the length of the arrowhead at the beginning of the specified line. <p>Use this method to retrieve the current  <a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadLength</code></a> setting for the line's beginning arrowhead.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setBeginArrowheadStyle(ArrowheadStyle.Triangle);
 line.setBeginArrowheadLength(ArrowheadLength.Long);
 ArrowheadLength length = line.getBeginArrowheadLength();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadLength</code></a> of the arrowhead at the beginning of the specified line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBeginArrowheadLength(com.grapecity.documents.excel.drawing.ArrowheadLength)">
<h3>setBeginArrowheadLength</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBeginArrowheadLength</span><wbr><span class="parameters">(<a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadLength</a>&nbsp;value)</span></div>
<div class="block">Sets the length of the arrowhead at the beginning of the specified line. <p>Use this method to control the size of the arrowhead applied to the start of a  shape or connector line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setBeginArrowheadStyle(ArrowheadStyle.Triangle);
 line.setBeginArrowheadLength(ArrowheadLength.Long);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The <a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadLength</code></a> to apply to the arrowhead at the beginning of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBeginArrowheadStyle()">
<h3>getBeginArrowheadStyle</h3>
<div class="member-signature"><span class="return-type"><a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadStyle</a></span>&nbsp;<span class="element-name">getBeginArrowheadStyle</span>()</div>
<div class="block">Gets the style of the arrowhead at the beginning of the specified line. <p>Use this method to retrieve the current  <a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadStyle</code></a> applied to the beginning of a connector or shape line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setBeginArrowheadStyle(ArrowheadStyle.Triangle);
 ArrowheadStyle style = line.getBeginArrowheadStyle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadStyle</code></a> of the arrowhead at the beginning of the specified line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBeginArrowheadStyle(com.grapecity.documents.excel.drawing.ArrowheadStyle)">
<h3>setBeginArrowheadStyle</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBeginArrowheadStyle</span><wbr><span class="parameters">(<a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadStyle</a>&nbsp;value)</span></div>
<div class="block">Sets the style of the arrowhead at the beginning of the specified line. <p>Use this method to configure the  <a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadStyle</code></a> applied to the beginning of a connector or shape line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setBeginArrowheadStyle(ArrowheadStyle.Triangle);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The <a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadStyle</code></a> to apply to the arrowhead at the beginning of the specified line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBeginArrowheadWidth()">
<h3>getBeginArrowheadWidth</h3>
<div class="member-signature"><span class="return-type"><a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadWidth</a></span>&nbsp;<span class="element-name">getBeginArrowheadWidth</span>()</div>
<div class="block">Gets the width of the arrowhead at the beginning of the specified line. <p>Use this method to retrieve the current  <a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadWidth</code></a> setting for the line's beginning arrowhead.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setBeginArrowheadStyle(ArrowheadStyle.Triangle);
 line.setBeginArrowheadWidth(ArrowheadWidth.Wide);
 ArrowheadWidth width = line.getBeginArrowheadWidth();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadWidth</code></a> of the arrowhead at the beginning of the specified line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBeginArrowheadWidth(com.grapecity.documents.excel.drawing.ArrowheadWidth)">
<h3>setBeginArrowheadWidth</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBeginArrowheadWidth</span><wbr><span class="parameters">(<a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadWidth</a>&nbsp;value)</span></div>
<div class="block">Sets the width of the arrowhead at the beginning of the specified line. <p>Use  <a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadWidth</code></a> constants to control how narrow or wide the starting arrowhead appears.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setBeginArrowheadStyle(ArrowheadStyle.Triangle);
 line.setBeginArrowheadWidth(ArrowheadWidth.Wide);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The arrowhead width to apply at the beginning of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDashStyle()">
<h3>getDashStyle</h3>
<div class="member-signature"><span class="return-type"><a href="LineDashStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineDashStyle</a></span>&nbsp;<span class="element-name">getDashStyle</span>()</div>
<div class="block">Gets the dash style for the specified line. Can be one of the  <a href="LineDashStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineDashStyle</code></a> constants.
 <pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setDashStyle(LineDashStyle.Dash);
 LineDashStyle dashStyle = line.getDashStyle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The dash style for the specified line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDashStyle(com.grapecity.documents.excel.drawing.LineDashStyle)">
<h3>setDashStyle</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDashStyle</span><wbr><span class="parameters">(<a href="LineDashStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineDashStyle</a>&nbsp;value)</span></div>
<div class="block">Sets the dash style for the specified line. Can be one of the  <a href="LineDashStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineDashStyle</code></a> constants.
 <pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setDashStyle(LineDashStyle.Dash);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The dash style to apply to the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCapStyle()">
<h3>getCapStyle</h3>
<div class="member-signature"><span class="return-type"><a href="LineCapStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineCapStyle</a></span>&nbsp;<span class="element-name">getCapStyle</span>()</div>
<div class="block">Gets the cap style for the end of the line. Can be one of the  <a href="LineCapStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineCapStyle</code></a> constants.<p>Use  <a href="#setCapStyle(com.grapecity.documents.excel.drawing.LineCapStyle)"><code>setCapStyle(LineCapStyle)</code></a> to change the cap style.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setCapStyle(LineCapStyle.Round);
 LineCapStyle style = line.getCapStyle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The cap style for the end of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setCapStyle(com.grapecity.documents.excel.drawing.LineCapStyle)">
<h3>setCapStyle</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setCapStyle</span><wbr><span class="parameters">(<a href="LineCapStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineCapStyle</a>&nbsp;value)</span></div>
<div class="block">Sets the cap style for the end of the line. Can be one of the  <a href="LineCapStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineCapStyle</code></a> constants.
 <pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setCapStyle(LineCapStyle.Round);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The cap style for the end of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getJoinStyle()">
<h3>getJoinStyle</h3>
<div class="member-signature"><span class="return-type"><a href="LineJoinStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineJoinStyle</a></span>&nbsp;<span class="element-name">getJoinStyle</span>()</div>
<div class="block">Gets the corners style of two intersecting lines. Can be one of the  <a href="LineJoinStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineJoinStyle</code></a> constants.
 <pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setJoinStyle(LineJoinStyle.Round);
 LineJoinStyle style = line.getJoinStyle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The corners style of two intersecting lines.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setJoinStyle(com.grapecity.documents.excel.drawing.LineJoinStyle)">
<h3>setJoinStyle</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setJoinStyle</span><wbr><span class="parameters">(<a href="LineJoinStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineJoinStyle</a>&nbsp;value)</span></div>
<div class="block">Sets the corners style of two intersecting lines. Can be one of the  <a href="LineJoinStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineJoinStyle</code></a> constants.
 <pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setJoinStyle(LineJoinStyle.Round);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The join style to apply. Can be one of the <a href="LineJoinStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineJoinStyle</code></a> constants.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEndArrowheadLength()">
<h3>getEndArrowheadLength</h3>
<div class="member-signature"><span class="return-type"><a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadLength</a></span>&nbsp;<span class="element-name">getEndArrowheadLength</span>()</div>
<div class="block">Gets the length of the arrowhead at the end of the specified line. <p>Use this method to retrieve the current  <a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadLength</code></a> setting for the line's ending arrowhead.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setEndArrowheadStyle(ArrowheadStyle.Triangle);
 line.setEndArrowheadLength(ArrowheadLength.Long);
 ArrowheadLength length = line.getEndArrowheadLength();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadLength</code></a> of the arrowhead at the end of the specified line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setEndArrowheadLength(com.grapecity.documents.excel.drawing.ArrowheadLength)">
<h3>setEndArrowheadLength</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setEndArrowheadLength</span><wbr><span class="parameters">(<a href="ArrowheadLength.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadLength</a>&nbsp;value)</span></div>
<div class="block">Sets the length of the arrowhead at the end of the specified line. <p>Use this method with  <a href="#setEndArrowheadStyle(com.grapecity.documents.excel.drawing.ArrowheadStyle)"><code>setEndArrowheadStyle(ArrowheadStyle)</code></a> to configure the appearance of the arrowhead at the end of a line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setEndArrowheadStyle(ArrowheadStyle.Triangle);
 line.setEndArrowheadLength(ArrowheadLength.Long);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The arrowhead length to apply to the end of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEndArrowheadStyle()">
<h3>getEndArrowheadStyle</h3>
<div class="member-signature"><span class="return-type"><a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadStyle</a></span>&nbsp;<span class="element-name">getEndArrowheadStyle</span>()</div>
<div class="block">Gets the style of the arrowhead at the end of the specified line. <p>Use this method to retrieve the current  <a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadStyle</code></a> applied to the end of a connector or shape line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setEndArrowheadStyle(ArrowheadStyle.Triangle);
 ArrowheadStyle style = line.getEndArrowheadStyle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadStyle</code></a> of the arrowhead at the end of the specified line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setEndArrowheadStyle(com.grapecity.documents.excel.drawing.ArrowheadStyle)">
<h3>setEndArrowheadStyle</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setEndArrowheadStyle</span><wbr><span class="parameters">(<a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadStyle</a>&nbsp;value)</span></div>
<div class="block">Sets the style of the arrowhead at the end of the specified line. <p>Use this method to configure the  <a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadStyle</code></a> applied to the end of a connector or shape line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setEndArrowheadStyle(ArrowheadStyle.Open);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The <a href="ArrowheadStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadStyle</code></a> to apply to the arrowhead at the end of the specified line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEndArrowheadWidth()">
<h3>getEndArrowheadWidth</h3>
<div class="member-signature"><span class="return-type"><a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadWidth</a></span>&nbsp;<span class="element-name">getEndArrowheadWidth</span>()</div>
<div class="block">Gets the width of the arrowhead at the end of the specified line. <p>Use this method to read the current end arrowhead width configured for the line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setEndArrowheadStyle(ArrowheadStyle.Triangle);
 line.setEndArrowheadWidth(ArrowheadWidth.Wide);
 ArrowheadWidth width = line.getEndArrowheadWidth();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadWidth</code></a> of the arrowhead at the end of the specified line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setEndArrowheadWidth(com.grapecity.documents.excel.drawing.ArrowheadWidth)">
<h3>setEndArrowheadWidth</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setEndArrowheadWidth</span><wbr><span class="parameters">(<a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing">ArrowheadWidth</a>&nbsp;value)</span></div>
<div class="block">Sets the width of the arrowhead at the end of the specified line. <p>Use  <a href="ArrowheadWidth.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ArrowheadWidth</code></a> constants to control how narrow or wide the ending arrowhead appears.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setEndArrowheadStyle(ArrowheadStyle.Triangle);
 line.setEndArrowheadWidth(ArrowheadWidth.Wide);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The arrowhead width to apply at the end of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getInsetPen()">
<h3>getInsetPen</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getInsetPen</span>()</div>
<div class="block">Gets whether lines are drawn inside the specified shape's boundaries. <p>This property indicates whether the line is rendered within the shape  outline instead of being centered on the shape boundary.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setInsetPen(true);
 boolean insetPen = line.getInsetPen();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if lines are drawn inside the specified shape's boundaries; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setInsetPen(boolean)">
<h3>setInsetPen</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setInsetPen</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether lines are drawn inside the specified shape's boundaries. <p>This property indicates whether the line is rendered within the shape  outline instead of being centered on the shape boundary.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setInsetPen(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if lines are drawn inside the specified shape's boundaries; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPattern()">
<h3>getPattern</h3>
<div class="member-signature"><span class="return-type"><a href="PatternType.html" title="enum class in com.grapecity.documents.excel.drawing">PatternType</a></span>&nbsp;<span class="element-name">getPattern</span>()</div>
<div class="block">Gets the line pattern. <p>Use this method to retrieve the current  <a href="PatternType.html" title="enum class in com.grapecity.documents.excel.drawing"><code>PatternType</code></a> applied to the line after the line has been configured with a pattern fill.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.patterned(PatternType.Cross);
 PatternType pattern = line.getPattern();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The current line pattern.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getStyle()">
<h3>getStyle</h3>
<div class="member-signature"><span class="return-type"><a href="LineStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineStyle</a></span>&nbsp;<span class="element-name">getStyle</span>()</div>
<div class="block">Gets the  <a href="LineStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineStyle</code></a> object that represents the <a href="ILineFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>ILineFormat</code></a> style.<p>Use this method to retrieve the current compound line style applied to a  shape line, such as  <a href="LineStyle.html#Single"><code>LineStyle.Single</code></a> or <a href="LineStyle.html#ThickBetweenThin"><code>LineStyle.ThickBetweenThin</code></a>.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setStyle(LineStyle.Single);
 LineStyle style = line.getStyle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="LineStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineStyle</code></a> object that represents the current <a href="ILineFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>ILineFormat</code></a> style.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setStyle(com.grapecity.documents.excel.drawing.LineStyle)">
<h3>setStyle</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setStyle</span><wbr><span class="parameters">(<a href="LineStyle.html" title="enum class in com.grapecity.documents.excel.drawing">LineStyle</a>&nbsp;value)</span></div>
<div class="block">Sets the  <a href="LineStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineStyle</code></a> object that represents the <a href="ILineFormat.html" title="interface in com.grapecity.documents.excel.drawing"><code>ILineFormat</code></a> style.<p>Use this method to apply a predefined line style, such as  <a href="LineStyle.html#Single"><code>LineStyle.Single</code></a>,  <a href="LineStyle.html#ThinThin"><code>LineStyle.ThinThin</code></a>, or  <a href="LineStyle.html#ThickBetweenThin"><code>LineStyle.ThickBetweenThin</code></a>, to a shape line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setStyle(LineStyle.Single);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The <a href="LineStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>LineStyle</code></a> to apply to the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTransparency()">
<h3>getTransparency</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getTransparency</span>()</div>
<div class="block">Gets the degree of transparency of the specified line as a value from 0.0 (opaque) through 1.0 (clear).
 <pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setTransparency(0.25);
 double transparency = line.getTransparency();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The degree of transparency of the line, from 0.0 for a fully opaque line to 1.0 for a fully clear line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setTransparency(double)">
<h3>setTransparency</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setTransparency</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the degree of transparency of the specified line as a value from 0.0 (opaque) through 1.0 (clear).
 <pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setTransparency(0.25);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The degree of transparency of the line, from 0.0 for a fully opaque line to 1.0 for a fully clear line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getVisible()">
<h3>getVisible</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getVisible</span>()</div>
<div class="block">Gets whether the object is visible. <p>Use this method to check whether the line for the shape is currently displayed.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setVisible(false);
 boolean visible = line.getVisible();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the object is visible; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setVisible(boolean)">
<h3>setVisible</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setVisible</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the object is visible. <p>Use this method to set whether the line for the shape is currently displayed.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setVisible(false);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the object is visible; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getGradientAngle()">
<h3>getGradientAngle</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getGradientAngle</span>()</div>
<div class="block">Gets the angle of the gradient line for the specified line format. <p>Use this property to get the current direction of a gradient that has been applied to the line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.twoColorGradient(GradientStyle.Horizontal, 1);
 line.setGradientAngle(45);
 double angle = line.getGradientAngle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The angle of the gradient line for the specified line format.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setGradientAngle(double)">
<h3>setGradientAngle</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setGradientAngle</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the angle of the gradient line for the specified line format. <p>Use this property to set the direction of a gradient that has been applied to the line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.twoColorGradient(GradientStyle.Horizontal, 1);
 line.setGradientAngle(45);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The angle of the gradient line for the specified line format.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getGradientDegree()">
<h3>getGradientDegree</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getGradientDegree</span>()</div>
<div class="block">Returns the gradient degree of the specified one-color shaded line as a  floating-point value from 0.0 (dark) through 1.0 (light). <p>Use this property to retrieve the shading intensity that was applied by  <a href="#oneColorGradient(com.grapecity.documents.excel.drawing.GradientStyle,int,double)"><code>oneColorGradient(GradientStyle,int,double)</code></a>.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.oneColorGradient(GradientStyle.DiagonalDown, 2, 0.5);
 double degree = line.getGradientDegree();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The gradient degree for the one-color shaded line, from 0.0 (dark)through 1.0 (light).</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getGradientStops()">
<h3>getGradientStops</h3>
<div class="member-signature"><span class="return-type"><a href="IGradientStops.html" title="interface in com.grapecity.documents.excel.drawing">IGradientStops</a></span>&nbsp;<span class="element-name">getGradientStops</span>()</div>
<div class="block">Returns the end point for the gradient line. This property is read-only. <p>Use the returned  <a href="IGradientStops.html" title="interface in com.grapecity.documents.excel.drawing"><code>IGradientStops</code></a> collection to access the gradient stops defined for the line after applying a gradient style.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.twoColorGradient(GradientStyle.Horizontal, 1);
 IGradientStops gradientStops = line.getGradientStops();
 IGradientStop firstStop = gradientStops.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IGradientStops.html" title="interface in com.grapecity.documents.excel.drawing"><code>IGradientStops</code></a> collection for the line gradient.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getGradientStyle()">
<h3>getGradientStyle</h3>
<div class="member-signature"><span class="return-type"><a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing">GradientStyle</a></span>&nbsp;<span class="element-name">getGradientStyle</span>()</div>
<div class="block">Returns the gradient style for the specified line. <p>Use this method to determine how the current gradient is applied to the line,  such as horizontal, vertical, or diagonal shading.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.oneColorGradient(GradientStyle.Vertical, 1, 0.5);
 GradientStyle style = line.getGradientStyle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The gradient style for the specified line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getGradientVariant()">
<h3>getGradientVariant</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getGradientVariant</span>()</div>
<div class="block">Returns the shade variant for the specified fill as an integer value from 1 through 4. <p>This property indicates which gradient variant is applied to the line when a gradient fill is used.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.oneColorGradient(GradientStyle.Horizontal, 2, 0.5);
 int variant = line.getGradientVariant();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The gradient shade variant as an integer from 1 through 4.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getWeight()">
<h3>getWeight</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getWeight</span>()</div>
<div class="block">Gets the weight of the line. <p>This value represents the thickness applied to the line formatting of the shape.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setWeight(2.25);
 double weight = line.getWeight();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The weight of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setWeight(double)">
<h3>setWeight</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setWeight</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the weight of the line. <p>This value represents the thickness applied to the line formatting of the shape.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.setWeight(2.25);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The weight of the line.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="oneColorGradient(com.grapecity.documents.excel.drawing.GradientStyle,int,double)">
<h3>oneColorGradient</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">oneColorGradient</span><wbr><span class="parameters">(<a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing">GradientStyle</a>&nbsp;style,
 int&nbsp;variant,
 double&nbsp;degree)</span></div>
<div class="block">Sets the specified line to a one-color gradient. <p>Use  <code>degree</code> to control the gradient intensity from dark to light.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.oneColorGradient(GradientStyle.Horizontal, 2, 0.5);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>style</code> - Required <a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>GradientStyle</code></a>. Can be one of the following  GradientStyle constants: GradientDiagonalDown, GradientDiagonalUp,  GradientFromCenter, GradientFromCorner, GradientFromTitle,  Horizontal, or Vertical.</dd>
<dd><code>variant</code> - Required Integer. The gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the  Gradient tab in the line Effects dialog box. If GradientStyle is  GradientFromCenter, the Variant argument can only be 1 or 2.</dd>
<dd><code>degree</code> - Required Single. The gradient degree. Can be a value from 0.0(dark) through 1.0 (light).</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="twoColorGradient(com.grapecity.documents.excel.drawing.GradientStyle,int)">
<h3>twoColorGradient</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">twoColorGradient</span><wbr><span class="parameters">(<a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing">GradientStyle</a>&nbsp;style,
 int&nbsp;variant)</span></div>
<div class="block">Sets the specified line to a two-color gradient. <p>Use the  <code>style</code> and <code>variant</code> parameters to choose one of the built-in two-color gradient patterns for the line. The supported styles are  <a href="GradientStyle.html#DiagonalDown"><code>GradientStyle.DiagonalDown</code></a>,  <a href="GradientStyle.html#DiagonalUp"><code>GradientStyle.DiagonalUp</code></a>,  <a href="GradientStyle.html#FromCenter"><code>GradientStyle.FromCenter</code></a>,  <a href="GradientStyle.html#FromCorner"><code>GradientStyle.FromCorner</code></a>,  <a href="GradientStyle.html#FromTitle"><code>GradientStyle.FromTitle</code></a>,  <a href="GradientStyle.html#Horizontal"><code>GradientStyle.Horizontal</code></a>,  and  <a href="GradientStyle.html#Vertical"><code>GradientStyle.Vertical</code></a>.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.twoColorGradient(GradientStyle.Horizontal, 1);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>style</code> - Required <a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>GradientStyle</code></a>. Can be one of the following  GradientStyle constants: GradientDiagonalDown, GradientDiagonalUp,  GradientFromCenter, GradientFromCorner, GradientFromTitle,  Horizontal, or Vertical.</dd>
<dd><code>variant</code> - Required Integer. The gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the  Gradient tab in the line Effects dialog box. If  <code>style</code> is <a href="GradientStyle.html#FromCenter"><code>GradientStyle.FromCenter</code></a>,  <code>variant</code> can only be 1 or 2.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="presetGradient(com.grapecity.documents.excel.drawing.GradientStyle,int,com.grapecity.documents.excel.drawing.PresetGradientType)">
<h3>presetGradient</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">presetGradient</span><wbr><span class="parameters">(<a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing">GradientStyle</a>&nbsp;style,
 int&nbsp;variant,
 <a href="PresetGradientType.html" title="enum class in com.grapecity.documents.excel.drawing">PresetGradientType</a>&nbsp;presetGradientType)</span></div>
<div class="block">Sets the specified line to a preset gradient. <p>Use this method to apply one of the predefined gradient combinations to the line.  The gradient style controls the direction of the gradient, and the variant selects  one of the available preset layouts for that style.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.presetGradient(GradientStyle.Vertical, 4, PresetGradientType.CalmWater);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>style</code> - The required <a href="GradientStyle.html" title="enum class in com.grapecity.documents.excel.drawing"><code>GradientStyle</code></a>. Can be  <a href="GradientStyle.html#DiagonalDown"><code>GradientStyle.DiagonalDown</code></a>,  <a href="GradientStyle.html#DiagonalUp"><code>GradientStyle.DiagonalUp</code></a>,  <a href="GradientStyle.html#FromCenter"><code>GradientStyle.FromCenter</code></a>,  <a href="GradientStyle.html#FromCorner"><code>GradientStyle.FromCorner</code></a>,  <a href="GradientStyle.html#FromTitle"><code>GradientStyle.FromTitle</code></a>,  <a href="GradientStyle.html#Horizontal"><code>GradientStyle.Horizontal</code></a>, or  <a href="GradientStyle.html#Vertical"><code>GradientStyle.Vertical</code></a>.</dd>
<dd><code>variant</code> - The required gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the Gradient tab in the  line Effects dialog box. If  <code>style</code> is <a href="GradientStyle.html#FromCenter"><code>GradientStyle.FromCenter</code></a>,  this argument can only be 1 or 2.</dd>
<dd><code>presetGradientType</code> - The required <a href="PresetGradientType.html" title="enum class in com.grapecity.documents.excel.drawing"><code>PresetGradientType</code></a> that specifies the predefined gradient to apply.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="solid()">
<h3>solid</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">solid</span>()</div>
<div class="block">Sets the specified line to a uniform color. <p>After calling this method, use  <a href="#getColor()"><code>getColor()</code></a> to configure the solid color of the line.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.solid();
 line.getColor().setRGB(Color.GetRed());
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="patterned(com.grapecity.documents.excel.drawing.PatternType)">
<h3>patterned</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">patterned</span><wbr><span class="parameters">(<a href="PatternType.html" title="enum class in com.grapecity.documents.excel.drawing">PatternType</a>&nbsp;pattern)</span></div>
<div class="block">Sets the specified line to a pattern color. <p>Use this method to apply a patterned fill to the line by specifying a  <a href="PatternType.html" title="enum class in com.grapecity.documents.excel.drawing"><code>PatternType</code></a>.</p>
<pre><code data-language="Java">
 IShape connector = worksheet.getShapes().addConnector(ConnectorType.Straight, 10, 10, 200, 100);
 ILineFormat line = connector.getLine();
 line.patterned(PatternType.Percent10);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>pattern</code> - The pattern type to apply to the line. Must not be <code>null</code>.</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
<script>var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";

function show(tableId, selected, columns) {
    if (tableId !== selected) {
        document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')')
            .forEach(function (elem) {
                elem.style.display = 'none';
            });
    }
    document.querySelectorAll('div.' + selected)
        .forEach(function (elem, index) {
            elem.style.display = '';
            var isEvenRow = index % (columns * 2) < columns;
            elem.classList.remove(isEvenRow ? oddRowColor : evenRowColor);
            elem.classList.add(isEvenRow ? evenRowColor : oddRowColor);
        });
    updateTabs(tableId, selected);
}

function updateTabs(tableId, selected) {
    document.querySelector('div#' + tableId + ' .summary-table')
        .setAttribute('aria-labelledby', selected);
    document.querySelectorAll('button[id^="' + tableId + '"]')
        .forEach(function (tab, index) {
            if (selected === tab.id || (tableId === selected && index === 0)) {
                tab.className = activeTableTab;
                tab.setAttribute('aria-selected', true);
                tab.setAttribute('tabindex', 0);
            } else {
                tab.className = tableTab;
                tab.setAttribute('aria-selected', false);
                tab.setAttribute('tabindex', -1);
            }
        });
}

function switchTab(e) {
    var selected = document.querySelector('[aria-selected=true]');
    if (selected) {
        if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) {
            // left or up arrow key pressed: move focus to previous tab
            selected.previousSibling.click();
            selected.previousSibling.focus();
            e.preventDefault();
        } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) {
            // right or down arrow key pressed: move focus to next tab
            selected.nextSibling.click();
            selected.nextSibling.focus();
            e.preventDefault();
        }
    }
}
</script></div>