Class TiffRational

Class TiffRational

이름 공간 : Aspose.Imaging.FileFormats.Tiff 모임: Aspose.Imaging.dll (25.4.0)

타이프는 합리적인 유형이다.

[JsonObject(MemberSerialization.OptIn)]
public class TiffRational

Inheritance

object TiffRational

상속 회원들

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

TiffRational()

Aspose.Imaging.FileFormats.Tiff.TiffRational 클래스의 새로운 사례를 시작합니다.

public TiffRational()

TiffRational(우인트)

Aspose.Imaging.FileFormats.Tiff.TiffRational 클래스의 새로운 사례를 시작합니다.

public TiffRational(uint value)

Parameters

value uint

후보자의 가치가 있다.

Remarks

명칭자는 지정된 값으로 사용되며 명칭자는 1과 동일합니다.

TiffRational(우인, 우린)

Aspose.Imaging.FileFormats.Tiff.TiffRational 클래스의 새로운 사례를 시작합니다.

[JsonConstructor]
public TiffRational(uint nominator, uint denominator)

Parameters

nominator uint

그리고 후보자

denominator uint

명칭자에 대하여

Fields

Epsilon

프랙션 계산을 위한 Epsilon

public const double Epsilon = 1E-06

필드 가치

double

Properties

Denominator

명칭을 얻으십시오.

public uint Denominator { get; }

부동산 가치

uint

Nominator

후보자를 얻을 수 있습니다.

public uint Nominator { get; }

부동산 가치

uint

Value

플로트 가치를 얻습니다.

public float Value { get; }

부동산 가치

float

가치

그것은 두 배의 가치를 얻습니다.

public double ValueD { get; }

부동산 가치

double

Methods

ApproximateFraction(더블, 더블)

제공된 값을 한 부분에 접근한다.

public static TiffRational ApproximateFraction(double value, double epsilon)

Parameters

value double

그 가치가 있다.

epsilon double

오류가 허용되었습니다.

Returns

TiffRational

epsilon"보다 덜 오류가 있는 합리적인 숫자.

ApproximateFraction(듀얼)

제공된 값을 한 부분에 접근한다.

public static TiffRational ApproximateFraction(double value)

Parameters

value double

그 가치가 있다.

Returns

TiffRational

합리적인 숫자는 Aspose.Imaging.FileFormats.Tiff.TiffRational.Epsilon보다 오류가 적습니다.

ApproximateFraction(플로트, 더블)

제공된 값을 한 부분에 접근한다.

public static TiffRational ApproximateFraction(float value, double epsilon)

Parameters

value float

그 가치가 있다.

epsilon double

오류가 허용되었습니다.

Returns

TiffRational

epsilon"보다 덜 오류가 있는 합리적인 숫자.

ApproximateFraction(플로트)

제공된 값을 한 부분에 접근한다.

public static TiffRational ApproximateFraction(float value)

Parameters

value float

그 가치가 있다.

Returns

TiffRational

합리적인 숫자는 Aspose.Imaging.FileFormats.Tiff.TiffRational.Epsilon보다 오류가 적습니다.

Equals(객체)

지정된 System.Object이 이 경우와 동일한지 여부를 결정합니다.

public override bool Equals(object obj)

Parameters

obj object

시스템.Object 이 경우와 비교할 수 있습니다.

Returns

bool

‘진실’이 지정된 System.Object이 이 경우와 동일한 경우; 그렇지 않으면 ‘거짓’입니다.

GetHashCode()

이 경우 해시 코드를 반환합니다.

public override int GetHashCode()

Returns

int

이 예제에 대한 해시 코드, 해시 테이블과 같은 해시 알고리즘 및 데이터 구조에서 사용하기에 적합합니다.

ToString()

링으로 변환합니다.

public override string ToString()

Returns

string

이 기회를 대표하는 시스템.String입니다.

 한국어