<commit_before>﻿using System.Collections.Generic;
using System.Collections.Immutable;
using Core2D.Shapes;

namespace Core2D.Path
{
    /// <summary>
    /// Defines path figure contract.
    /// </summary>
    public interface IPathFigure : IObservableObject
    {
        /// <summary>
        /// Gets or sets start point.
        /// </summary>
        IPointShape StartPoint { get; set; }

        /// <summary>
        /// Gets or sets segments collection.
        /// </summary>
        ImmutableArray<IPathSegment> Segments { get; set; }

        /// <summary>
        /// Gets or sets flag indicating whether path is filled.
        /// </summary>
        bool IsFilled { get; set; }

        /// <summary>
        /// Gets or sets flag indicating whether path is closed.
        /// </summary>
        bool IsClosed { get; set; }

        /// <summary>
        /// Get all points in the figure.
        /// </summary><commit_msg>Update IPathFigure.cs<commit_after>﻿using System.Collections.Generic;
using System.Collections.Immutable;
using Core2D.Shapes;

namespace Core2D.Path
{
    /// <summary>
    /// Defines path figure contract.
    /// </summary>
    public interface IPathFigure : IObservableObject, IStringExporter
    {
        /// <summary>
        /// Gets or sets start point.
        /// </summary>
        IPointShape StartPoint { get; set; }

        /// <summary>
        /// Gets or sets segments collection.
        /// </summary>
        ImmutableArray<IPathSegment> Segments { get; set; }

        /// <summary>
        /// Gets or sets flag indicating whether path is filled.
        /// </summary>
        bool IsFilled { get; set; }

        /// <summary>
        /// Gets or sets flag indicating whether path is closed.
        /// </summary>
        bool IsClosed { get; set; }

        /// <summary>
        /// Get all points in the figure.
        /// </summary>
{'fraction_non_alphanumeric': 0.13137151865475566, 'fraction_numerical': 0.0021019442984760903, 'mean_word_length': 1.6666666666666667, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '112518', 'n_tokens_mistral': 516, 'n_tokens_neox': 505, 'n_words': 157}